Class SelectColorCallback.Action
java.lang.Object
com.teamdev.jxbrowser.callback.AsyncCallbackAction<com.teamdev.jxbrowser.internal.rpc.SelectColor.Response>
com.teamdev.jxbrowser.browser.callback.SelectColorCallback.Action
- Enclosing interface:
- SelectColorCallback
public static final class SelectColorCallback.Action
extends AsyncCallbackAction<com.teamdev.jxbrowser.internal.rpc.SelectColor.Response>
An action providing a response to the
SelectColorCallback
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
Notifies the browser that the user has canceled color selection.void
Notifies the browser that the user has selected a color.void
Tells the browser to display a color picker.Methods inherited from class com.teamdev.jxbrowser.callback.AsyncCallbackAction
isClosed
-
Constructor Details
-
Action
-
-
Method Details
-
select
Notifies the browser that the user has selected a color.- Parameters:
color
- the selected color
-
showDialog
public void showDialog()Tells the browser to display a color picker. -
cancel
public void cancel()Notifies the browser that the user has canceled color selection.
-