Package zleurtor.scanmanager.view.gui
Enum Class ConfiguratorDialog.CloseOption
java.lang.Object
java.lang.Enum<ConfiguratorDialog.CloseOption>
zleurtor.scanmanager.view.gui.ConfiguratorDialog.CloseOption
- All Implemented Interfaces:
Serializable
,Comparable<ConfiguratorDialog.CloseOption>
,Constable
- Enclosing class:
- ConfiguratorDialog
The enum defining all the close options.
- Author:
- Zleurtor
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe option selected when the user close the dialog using the "apply to all" button.The option selected when the user close the dialog using the "apply to selected" button.The option selected when the user close the dialog using the "cancel" button. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ConfiguratorDialog.CloseOption[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CANCEL
The option selected when the user close the dialog using the "cancel" button. -
APPLY_SELECTED
The option selected when the user close the dialog using the "apply to selected" button. -
APPLY_ALL
The option selected when the user close the dialog using the "apply to all" button.
-
-
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
-