Class ConfirmCallback.Action
java.lang.Object
com.teamdev.jxbrowser.callback.AsyncCallbackAction<com.teamdev.jxbrowser.js.internal.rpc.ShowConfirm.Response>
com.teamdev.jxbrowser.browser.callback.ConfirmCallback.Action
- Enclosing interface:
- ConfirmCallback
public static final class ConfirmCallback.Action
extends AsyncCallbackAction<com.teamdev.jxbrowser.js.internal.rpc.ShowConfirm.Response>
An action providing a response to the
ConfirmCallback
.-
Constructor Summary
-
Method Summary
Methods inherited from class com.teamdev.jxbrowser.callback.AsyncCallbackAction
isClosed
-
Constructor Details
-
Action
-
-
Method Details
-
ok
public void ok()Notifies the browser that the JavaScript confirmation dialog should be closed with the "OK" action. -
cancel
public void cancel()Notifies the browser that the JavaScript confirmation dialog should be canceled.
-