Interface PromptCallback.Params
- Enclosing interface:
- PromptCallback
public static interface PromptCallback.Params
The parameters of the
PromptCallback.-
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns a string that represents the localized text of the "Cancel" action.default Stringmessage()Returns a string that represents the text passed to thewindow.prompt()JavaScript function.default StringReturns a string that represents the localized text of the "OK" action.default Stringtext()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 Stringtitle()Returns a string that represents the localized dialog title.default Stringurl()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.
-