public static final class PromptCallback.Action extends AsyncCallbackAction<Response>
PromptCallback
.Constructor and Description |
---|
Action(java.util.function.Consumer<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