org.jactr.core.chunktype.event
Enum ChunkTypeEvent.Type

java.lang.Object
  extended by java.lang.Enum<ChunkTypeEvent.Type>
      extended by org.jactr.core.chunktype.event.ChunkTypeEvent.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ChunkTypeEvent.Type>
Enclosing class:
ChunkTypeEvent

public static enum ChunkTypeEvent.Type
extends java.lang.Enum<ChunkTypeEvent.Type>


Enum Constant Summary
CHILD_ADDED
           
CHUNK_ADDED
           
ENCODED
           
PARAMETER_CHANGED
           
SLOT_ADDED
           
SLOT_CHANGED
           
SLOT_REMOVED
           
 
Method Summary
static ChunkTypeEvent.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ChunkTypeEvent.Type[] values()
          Returns an array containing the constants of this enum type, in the order they're 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

ENCODED

public static final ChunkTypeEvent.Type ENCODED

SLOT_ADDED

public static final ChunkTypeEvent.Type SLOT_ADDED

SLOT_REMOVED

public static final ChunkTypeEvent.Type SLOT_REMOVED

SLOT_CHANGED

public static final ChunkTypeEvent.Type SLOT_CHANGED

PARAMETER_CHANGED

public static final ChunkTypeEvent.Type PARAMETER_CHANGED

CHUNK_ADDED

public static final ChunkTypeEvent.Type CHUNK_ADDED

CHILD_ADDED

public static final ChunkTypeEvent.Type CHILD_ADDED
Method Detail

values

public static final ChunkTypeEvent.Type[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ChunkTypeEvent.Type c : ChunkTypeEvent.Type.values())
        System.out.println(c);

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

valueOf

public static ChunkTypeEvent.Type 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