Enum DialogPane.Type

java.lang.Object
java.lang.Enum<DialogPane.Type>
com.dlsc.gemsfx.DialogPane.Type
All Implemented Interfaces:
Serializable, Comparable<DialogPane.Type>
Enclosing class:
DialogPane

public static enum DialogPane.Type extends Enum<DialogPane.Type>
The various dialog types supported by DialogPane.
See Also:
  • DialogPane.Dialog.type
  • Enum Constant Details

    • INPUT

      public static final DialogPane.Type INPUT
      A dialog type that is asking for user input.
    • INFORMATION

      public static final DialogPane.Type INFORMATION
      A dialog type used for showing any kind of information to the user.
    • ERROR

      public static final DialogPane.Type ERROR
      A dialog type used for showing any kind of (severe) error to the user.
    • WARNING

      public static final DialogPane.Type WARNING
      A dialog type used for warning the user.
    • CONFIRMATION

      public static final DialogPane.Type CONFIRMATION
      A dialog type used for asking the user for confirmation before executing an action.
    • BLANK

      public static final DialogPane.Type BLANK
      A blank dialog that can be used for anything.
  • Method Details

    • values

      public static DialogPane.Type[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DialogPane.Type valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null