Enum Class EditTypeEnum
- All Implemented Interfaces:
Serializable
,Comparable<EditTypeEnum>
,Constable
Enumeration type for specifying how a value should be processed that was
entered to an editor by dialog.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse the value entered into the editor to adjust the value that is currently set in the data model.Use the value entered into the editor to decrease the value that is currently set in the data model.Use the value entered into the editor to increase the value that is currently set in the data model.Use the value entered into the editor without any further transformation. -
Method Summary
Modifier and TypeMethodDescriptionstatic EditTypeEnum
Returns the enum constant of this class with the specified name.static EditTypeEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SET
Use the value entered into the editor without any further transformation. -
INCREASE
Use the value entered into the editor to increase the value that is currently set in the data model. -
DECREASE
Use the value entered into the editor to decrease the value that is currently set in the data model. -
ADJUST
Use the value entered into the editor to adjust the value that is currently set in the data model. Using this edit type will take the leading sign into account, so negative entered values will decrease the current value in the data model, positive values will increase it.
-
-
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
-