Interface PromptCallback.Params

Enclosing interface:
PromptCallback

public static interface PromptCallback.Params
The parameters of the PromptCallback.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Returns a string that represents the localized text of the "Cancel" action.
    default String
    Returns a string that represents the text passed to the window.prompt() JavaScript function.
    default String
    Returns a string that represents the localized text of the "OK" action.
    default String
    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 String
    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

      default String title()
      Returns a string that represents the localized dialog title.
    • message

      default String message()
      Returns a string that represents the text passed to the window.prompt() JavaScript function.
    • text

      default 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.
    • okActionText

      default String okActionText()
      Returns a string that represents the localized text of the "OK" action.
    • cancelActionText

      default String cancelActionText()
      Returns a string that represents the localized text of the "Cancel" action.
    • url

      default String url()
      Returns a string that represents the URL of the web page that requested to display a prompt dialog.