public static final class PromptCallback.Action extends AsyncCallbackAction<com.teamdev.jxbrowser.js.internal.rpc.ShowPrompt.Response>
PromptCallback
.Constructor and Description |
---|
Action(java.util.function.Consumer<com.teamdev.jxbrowser.js.internal.rpc.ShowPrompt.Response> consumer) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Notifies the browser that the JavaScript prompt dialog should be canceled.
|
void |
ok(java.lang.String text)
Notifies the browser that the JavaScript prompt dialog should be closed with the given
text as a response. |
isClosed