artisynth.core.modelbase
Enum ComponentChangeEvent.Code

java.lang.Object
  extended by java.lang.Enum<ComponentChangeEvent.Code>
      extended by artisynth.core.modelbase.ComponentChangeEvent.Code
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ComponentChangeEvent.Code>
Enclosing class:
ComponentChangeEvent

public static enum ComponentChangeEvent.Code
extends java.lang.Enum<ComponentChangeEvent.Code>


Enum Constant Summary
DYNAMIC_ACTIVITY_CHANGED
          Dynamic actvity has changed in one or more components.
GEOMETRY_CHANGED
          Geometry has changed in one or more components.
NAME_CHANGED
          A Component's name has changed
PROPERTY_CHANGED
          Properties have been changed in one or more components.
STRUCTURE_CHANGED
          Components have been added or deleted.
 
Method Summary
static ComponentChangeEvent.Code valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ComponentChangeEvent.Code[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STRUCTURE_CHANGED

public static final ComponentChangeEvent.Code STRUCTURE_CHANGED
Components have been added or deleted.


GEOMETRY_CHANGED

public static final ComponentChangeEvent.Code GEOMETRY_CHANGED
Geometry has changed in one or more components.


PROPERTY_CHANGED

public static final ComponentChangeEvent.Code PROPERTY_CHANGED
Properties have been changed in one or more components.


DYNAMIC_ACTIVITY_CHANGED

public static final ComponentChangeEvent.Code DYNAMIC_ACTIVITY_CHANGED
Dynamic actvity has changed in one or more components.


NAME_CHANGED

public static final ComponentChangeEvent.Code NAME_CHANGED
A Component's name has changed

Method Detail

values

public static ComponentChangeEvent.Code[] 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 (ComponentChangeEvent.Code c : ComponentChangeEvent.Code.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ComponentChangeEvent.Code valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null