com.acarter.scenemonitor.textdescriptor.definitions
Enum ControllerDescriptor.E_RepeatType

java.lang.Object
  extended by java.lang.Enum<ControllerDescriptor.E_RepeatType>
      extended by com.acarter.scenemonitor.textdescriptor.definitions.ControllerDescriptor.E_RepeatType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ControllerDescriptor.E_RepeatType>
Enclosing class:
ControllerDescriptor

protected static enum ControllerDescriptor.E_RepeatType
extends java.lang.Enum<ControllerDescriptor.E_RepeatType>

Enumerates the permissible controller repeat types.

Author:
Andrew Carter

Enum Constant Summary
CLAMP
           
CYCLE
           
WRAP
           
 
Method Summary
static ControllerDescriptor.E_RepeatType getConstant(int type)
          Returns the enum constant matching the type value.
static ControllerDescriptor.E_RepeatType getConstant(java.lang.String name)
          Returns the enum constant matching the name string.
 int getType()
          Returns the integer value of the constant.
 java.lang.String toString()
          Returns the string value of the constant.
static ControllerDescriptor.E_RepeatType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ControllerDescriptor.E_RepeatType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CLAMP

public static final ControllerDescriptor.E_RepeatType CLAMP

WRAP

public static final ControllerDescriptor.E_RepeatType WRAP

CYCLE

public static final ControllerDescriptor.E_RepeatType CYCLE
Method Detail

values

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

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

valueOf

public static ControllerDescriptor.E_RepeatType 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

getConstant

public static ControllerDescriptor.E_RepeatType getConstant(java.lang.String name)
Returns the enum constant matching the name string.

Parameters:
name - string value of enum constant
Returns:
matching enum constant or null

getConstant

public static ControllerDescriptor.E_RepeatType getConstant(int type)
Returns the enum constant matching the type value.

Parameters:
type - type value of enum constant
Returns:
matching enum constant or null

toString

public java.lang.String toString()
Returns the string value of the constant.

Overrides:
toString in class java.lang.Enum<ControllerDescriptor.E_RepeatType>

getType

public int getType()
Returns the integer value of the constant.

Returns: