Interface PromptCallback.Params
- Enclosing interface:
- PromptCallback
public static interface PromptCallback.Params
The parameters of the
PromptCallback
.-
Method Summary
Modifier and TypeMethodDescriptiondefault String
Returns a string that represents the localized text of the "Cancel" action.default String
message()
Returns a string that represents the text passed to thewindow.prompt()
JavaScript function.default String
Returns a string that represents the localized text of the "OK" action.default String
text()
Returns a string that represents the default text passed to thewindow.prompt()
JavaScript function or an empty string, if no default value is passed.default String
title()
Returns a string that represents the localized dialog title.default String
url()
Returns a string that represents the URL of the web page that requested to display a prompt dialog.
-
Method Details
-
title
Returns a string that represents the localized dialog title. -
message
Returns a string that represents the text passed to thewindow.prompt()
JavaScript function. -
text
Returns a string that represents the default text passed to thewindow.prompt()
JavaScript function or an empty string, if no default value is passed. -
okActionText
Returns a string that represents the localized text of the "OK" action. -
cancelActionText
Returns a string that represents the localized text of the "Cancel" action. -
url
Returns a string that represents the URL of the web page that requested to display a prompt dialog.
-