Enum Class AddeEntry.EditorAction
- All Implemented Interfaces:
Serializable
,Comparable<AddeEntry.EditorAction>
,Constable
- Enclosing interface:
AddeEntry
Represents the possible actions that an ADDE editor can perform.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCreated a new entry; hasn't been verified.Created a new, verified entry.Canceled out of creating or editing an entry.Updated an existing entry without verifying changes.Updated an entry and verified the changes.Editor GUI performed some "invalid" action.Verified the contents of the editor GUI.Wait for verification.Wait for verification and add whatever passed.Wait for verification and replace with passing entries. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AddeEntry.EditorAction
Returns the enum constant of this class with the specified name.static AddeEntry.EditorAction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADDED
Created a new entry; hasn't been verified. -
CANCELLED
Canceled out of creating or editing an entry. -
VERIFIED
Verified the contents of the editor GUI. -
ADDED_VERIFIED
Created a new, verified entry. -
EDITED
Updated an existing entry without verifying changes. -
EDITED_VERIFIED
Updated an entry and verified the changes. -
VERIFYING_AND_ADDING
Wait for verification and add whatever passed. -
VERIFYING_AND_EDITING
Wait for verification and replace with passing entries. -
VERIFYING
Wait for verification. Current use is mostly a "no-op". -
INVALID
Editor GUI performed some "invalid" action.
-
-
Constructor Details
-
EditorAction
private EditorAction()
-
-
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
-