public interface ConfirmCallback extends BrowserAsyncCallback<ConfirmCallback.Params,ConfirmCallback.Action>
ConfirmCallback.Params
. Please note that it is not necessary to display a dialog in this callback.
Use the ConfirmCallback.Action.ok()
method to notify that the JavaScript dialog is closed
with the "OK" action.
Use the ConfirmCallback.Action.cancel()
method to cancel the dialog.
If the callback throws an exception, the ConfirmCallback.Action.cancel()
method will be invoked.
Modifier and Type | Interface and Description |
---|---|
static class |
ConfirmCallback.Action
An action providing a response to the
ConfirmCallback . |
static interface |
ConfirmCallback.Params
The parameters of the
ConfirmCallback . |
on