Interface AlertCallback
- All Superinterfaces:
AsyncCallback<AlertCallback.Params,
,AlertCallback.Action> BrowserAsyncCallback<AlertCallback.Params,
,AlertCallback.Action> BrowserCallback
,Callback
- All Known Implementing Classes:
DefaultAlertCallback
,DefaultAlertCallback
,DefaultAlertCallback
public interface AlertCallback
extends BrowserAsyncCallback<AlertCallback.Params,AlertCallback.Action>
This callback is invoked when JavaScript alert dialog should be displayed. In this callback you
can display standard Java modal dialog with the message that you can get from
AlertCallback.Params
.
Use the AlertCallback.Action.ok()
method to tell browser that the alert dialog was closed.
Please note that it is not necessary to display a dialog in this callback.
If the callback throws an exception, the AlertCallback.Action.ok()
method will be invoked.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
An action providing a response to theAlertCallback
.static interface
The parameters of theAlertCallback
. -
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.callback.AsyncCallback
on