Package cl.obcom.desktopfx.jfx
Enum Class DialogType
- All Implemented Interfaces:
Serializable
,Comparable<DialogType>
,Constable
An enumeration of
Dialog
types.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the default DialogOption of this DialogType.Returns the default title of this DialogType.static DialogType
Returns the enum constant of this class with the specified name.static DialogType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INFO
Specifies a dialog of type 'Information'. -
WARNING
Specifies a dialog of type 'Warning'. -
ERROR
Specifies a dialog of type 'Error'. -
CONFIRM
Specifies a dialog of type 'Confirmation'. -
INPUT
Specifies a dialog of type 'Input'.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getDefaultOption
Returns the default DialogOption of this DialogType.- Returns:
- the default DialogOption of this DialogType.
-
getDefaultTitle
Returns the default title of this DialogType.- Returns:
- the default title of this DialogType.
-