public final class DefaultConfirmCallback extends WidgetHolder<BrowserView> implements ConfirmCallback
ConfirmCallback
implementation that shows a dialog when JavaScript confirm
dialog should be displayed.ConfirmCallback.Action, ConfirmCallback.Params
Constructor and Description |
---|
DefaultConfirmCallback(BrowserView parent) |
Modifier and Type | Method and Description |
---|---|
void |
on(ConfirmCallback.Params params,
ConfirmCallback.Action tell)
Invoked when the callback needs a response for the given callback parameters.
|
public DefaultConfirmCallback(BrowserView parent)
public void on(ConfirmCallback.Params params, ConfirmCallback.Action tell)
AsyncCallback
on
in interface AsyncCallback<ConfirmCallback.Params,ConfirmCallback.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