public static interface PromptCallback.Params
PromptCallback
.Modifier and Type | Method and Description |
---|---|
default java.lang.String |
cancelActionText()
Returns a string that represents the localized text of the "Cancel" action.
|
default java.lang.String |
message()
Returns a string that represents the text passed to the
window.prompt()
JavaScript function. |
default java.lang.String |
okActionText()
Returns a string that represents the localized text of the "OK" action.
|
default java.lang.String |
text()
Returns a string that represents the default text passed to the
window.prompt()
JavaScript function or an empty string, if no default value is passed. |
default java.lang.String |
title()
Returns a string that represents the localized dialog title.
|
default java.lang.String |
url()
Returns a string that represents the URL of the web page that requested to display a
prompt dialog.
|
default java.lang.String title()
default java.lang.String message()
window.prompt()
JavaScript function.default java.lang.String text()
window.prompt()
JavaScript function or an empty string, if no default value is passed.default java.lang.String okActionText()
default java.lang.String cancelActionText()
default java.lang.String url()