Enum HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation
- java.lang.Object
-
- java.lang.Enum<HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation>
-
- org.uberfire.ext.editor.commons.client.menu.HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation
-
- All Implemented Interfaces:
Serializable,Comparable<HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation>
- Enclosing interface:
- HasLockSyncMenuStateHelper.LockSyncMenuStateHelper
public static enum HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation extends Enum<HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation>
Possible operations; enable/disable MenuItem or veto any change all together.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.OperationvalueOf(String name)Returns the enum constant of this type with the specified name.static HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENABLE
public static final HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation ENABLE
-
DISABLE
public static final HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation DISABLE
-
VETO
public static final HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation VETO
-
-
Method Detail
-
values
public static HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation c : HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HasLockSyncMenuStateHelper.LockSyncMenuStateHelper.Operation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-