Enum StateChangeEvent.StateChangeType
- java.lang.Object
-
- java.lang.Enum<StateChangeEvent.StateChangeType>
-
- org.eclipse.nebula.widgets.nattable.persistence.command.StateChangeEvent.StateChangeType
-
- All Implemented Interfaces:
Serializable
,Comparable<StateChangeEvent.StateChangeType>
- Enclosing class:
- StateChangeEvent
public static enum StateChangeEvent.StateChangeType extends Enum<StateChangeEvent.StateChangeType>
Enum for the type of change that was done to a NatTable view configuration.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StateChangeEvent.StateChangeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static StateChangeEvent.StateChangeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHANGE
public static final StateChangeEvent.StateChangeType CHANGE
A view configuration has changed. This normally occurs if an existing view configuration gets overridden.
-
CREATE
public static final StateChangeEvent.StateChangeType CREATE
A view configuration was created by saving a current NatTable state via the PersistenceDialog.
-
DELETE
public static final StateChangeEvent.StateChangeType DELETE
A view configuration was deleted by using the PersistenceDialog.
-
-
Method Detail
-
values
public static StateChangeEvent.StateChangeType[] 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 (StateChangeEvent.StateChangeType c : StateChangeEvent.StateChangeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StateChangeEvent.StateChangeType 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
-
-