- All Implemented Interfaces:
Serializable
,Comparable<DialogPane.Type>
- Enclosing class:
DialogPane
The various dialog types supported by
DialogPane
.- See Also:
-
DialogPane.Dialog.type
-
Enum Constant Summary
Enum ConstantDescriptionA blank dialog that can be used for anything.A dialog type used for asking the user for confirmation before executing an action.A dialog type used for showing any kind of (severe) error to the user.A dialog type used for showing any kind of information to the user.A dialog type that is asking for user input.A dialog type used for warning the user. -
Method Summary
Modifier and TypeMethodDescriptionstatic DialogPane.Type
Returns the enum constant of this type with the specified name.static DialogPane.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INPUT
A dialog type that is asking for user input. -
INFORMATION
A dialog type used for showing any kind of information to the user. -
ERROR
A dialog type used for showing any kind of (severe) error to the user. -
WARNING
A dialog type used for warning the user. -
CONFIRMATION
A dialog type used for asking the user for confirmation before executing an action. -
BLANK
A blank dialog that can be used for anything.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-