public final class DefaultSelectColorCallback extends DefaultCallback implements SelectColorCallback
SelectColorCallback
implementation that shows a color chooser dialog when the
user clicks an <input type='color'>
HTML5 element.SelectColorCallback.Action, SelectColorCallback.Params
Constructor and Description |
---|
DefaultSelectColorCallback(BrowserView parent) |
Modifier and Type | Method and Description |
---|---|
void |
on(SelectColorCallback.Params params,
SelectColorCallback.Action tell)
Invoked when the callback needs a response for the given callback parameters.
|
public DefaultSelectColorCallback(BrowserView parent)
public void on(SelectColorCallback.Params params, SelectColorCallback.Action tell)
AsyncCallback
on
in interface AsyncCallback<SelectColorCallback.Params,SelectColorCallback.Action>
params
- the object that represents the callback parameterstell
- the object that can be used to provide the callback response. One of its
methods must be invoked to provide the response. Once the response has been
provided, any call to the object methods will result in the IllegalStateException