Package cl.obcom.desktopfx.jfx
Enum Class DialogAction
- All Implemented Interfaces:
Serializable
,Comparable<DialogAction>
,Constable
An enumeration of
Dialog
action buttons.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that the 'Attach/Detach' button was selected.Indicates that the 'Cancel' button was selected.Indicates that the 'Close' button was selected.Indicates that the 'No' button was selected.Indicates that the 'OK' button was selected.Indicates that the 'Yes' button was selected. -
Method Summary
Modifier and TypeMethodDescriptionstatic DialogAction
Returns the enum constant of this class with the specified name.static DialogAction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLOSE
Indicates that the 'Close' button was selected. -
OK
Indicates that the 'OK' button was selected. -
YES
Indicates that the 'Yes' button was selected. -
NO
Indicates that the 'No' button was selected. -
CANCEL
Indicates that the 'Cancel' button was selected. -
ATTACH_DETACH
Indicates that the 'Attach/Detach' button was selected.
-
-
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
-