device.external
Enum IGripper.stateType

java.lang.Object
  extended by java.lang.Enum<IGripper.stateType>
      extended by device.external.IGripper.stateType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IGripper.stateType>
Enclosing interface:
IGripper

public static enum IGripper.stateType
extends java.lang.Enum<IGripper.stateType>

Taken from the player IF documentation.


Enum Constant Summary
CLOSE
           
CLOSE_LIFT
           
CLOSE_RELEASE
           
ERROR
           
IDLE
           
LIFT
           
MOVING
           
OPEN
           
OPEN_LIFT
           
RELEASE
           
RELEASE_OPEN
           
STOP
           
 
Method Summary
static IGripper.stateType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IGripper.stateType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OPEN_LIFT

public static final IGripper.stateType OPEN_LIFT

RELEASE_OPEN

public static final IGripper.stateType RELEASE_OPEN

CLOSE_LIFT

public static final IGripper.stateType CLOSE_LIFT

CLOSE_RELEASE

public static final IGripper.stateType CLOSE_RELEASE

OPEN

public static final IGripper.stateType OPEN

CLOSE

public static final IGripper.stateType CLOSE

MOVING

public static final IGripper.stateType MOVING

LIFT

public static final IGripper.stateType LIFT

RELEASE

public static final IGripper.stateType RELEASE

ERROR

public static final IGripper.stateType ERROR

IDLE

public static final IGripper.stateType IDLE

STOP

public static final IGripper.stateType STOP
Method Detail

values

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

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

valueOf

public static IGripper.stateType 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