public interface SelectColorCallback extends BrowserAsyncCallback<SelectColorCallback.Params,SelectColorCallback.Action>
<input type='color'>
HTML5 element. You
can use this callback to display your own color chooser dialog or set the required color
programmatically without displaying any dialogs.
The SelectColorCallback.Params
describes the color chooser dialog params.
Use the SelectColorCallback.Action.select(Color)
method to notify the browser that the color has been
selected.
Use the SelectColorCallback.Action.cancel()
to cancel the color selection.
If the callback throws an exception, the SelectColorCallback.Action.cancel()
method will be invoked.
Modifier and Type | Interface and Description |
---|---|
static class |
SelectColorCallback.Action
An action providing a response to the
SelectColorCallback . |
static interface |
SelectColorCallback.Params
The parameters of the
SelectColorCallback . |
on