public static final class ConfirmCallback.Action extends AsyncCallbackAction<com.teamdev.jxbrowser.js.internal.rpc.ShowConfirm.Response>
ConfirmCallback
.Constructor and Description |
---|
Action(java.util.function.Consumer<com.teamdev.jxbrowser.js.internal.rpc.ShowConfirm.Response> consumer) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Notifies the browser that the JavaScript confirmation dialog should be canceled.
|
void |
ok()
Notifies the browser that the JavaScript confirmation dialog should be closed with the
"OK" action.
|
isClosed