public enum ModelEventType extends java.lang.Enum<ModelEventType>
ModelEventType
implements an enumerated type for defining various generic model event
types.Enum Constant and Description |
---|
CHILD_MODEL_ADDED |
CHILD_MODEL_CHANGED |
CHILD_MODEL_REMOVED |
MODEL_CHANGED |
MODEL_CREATED |
MODEL_PROPERTY_CHANGED |
MODEL_REMOVED |
Modifier and Type | Method and Description |
---|---|
static ModelEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModelEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelEventType MODEL_CREATED
public static final ModelEventType MODEL_REMOVED
public static final ModelEventType MODEL_CHANGED
public static final ModelEventType MODEL_PROPERTY_CHANGED
public static final ModelEventType CHILD_MODEL_ADDED
public static final ModelEventType CHILD_MODEL_REMOVED
public static final ModelEventType CHILD_MODEL_CHANGED
public static ModelEventType[] values()
for (ModelEventType c : ModelEventType.values()) System.out.println(c);
public static ModelEventType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null