Package org.zkoss.chart
Enum OptionDataEvent.EventType
- java.lang.Object
-
- java.lang.Enum<OptionDataEvent.EventType>
-
- org.zkoss.chart.OptionDataEvent.EventType
-
- All Implemented Interfaces:
Serializable
,Comparable<OptionDataEvent.EventType>
- Enclosing class:
- OptionDataEvent
public static enum OptionDataEvent.EventType extends Enum<OptionDataEvent.EventType>
Defines some states of OptionDataEvent forOptionable
's attributes- Author:
- jumperchen
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDED
Represents the event is in an added state.CHANGED
Represents the event is in a changed state.DESTROYED
Represents the event is in a destroyed state.ECHO
Represents the event is in an echo state.INITIALIZED
Represents the event is in a initialized stateINVOKE
Represents the event is in an invoke state.REGISTER
Represents the event is in a register event state.REMOVED
Represents the event is in a removed state.SELECTED
Represents the event is in a selected state.UNREGISTERED
Represents the event is in an unregistered event state.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OptionDataEvent.EventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OptionDataEvent.EventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INITIALIZED
public static final OptionDataEvent.EventType INITIALIZED
Represents the event is in a initialized state
-
CHANGED
public static final OptionDataEvent.EventType CHANGED
Represents the event is in a changed state.
-
ADDED
public static final OptionDataEvent.EventType ADDED
Represents the event is in an added state.
-
REMOVED
public static final OptionDataEvent.EventType REMOVED
Represents the event is in a removed state.
-
SELECTED
public static final OptionDataEvent.EventType SELECTED
Represents the event is in a selected state.
-
DESTROYED
public static final OptionDataEvent.EventType DESTROYED
Represents the event is in a destroyed state.
-
ECHO
public static final OptionDataEvent.EventType ECHO
Represents the event is in an echo state.
-
INVOKE
public static final OptionDataEvent.EventType INVOKE
Represents the event is in an invoke state.
-
REGISTER
public static final OptionDataEvent.EventType REGISTER
Represents the event is in a register event state.
-
UNREGISTERED
public static final OptionDataEvent.EventType UNREGISTERED
Represents the event is in an unregistered event state.
-
-
Method Detail
-
values
public static OptionDataEvent.EventType[] 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 (OptionDataEvent.EventType c : OptionDataEvent.EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OptionDataEvent.EventType 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
-
-