edu.stanford.hci.r3.actions.types
Enum RobotAction.RobotMethod

java.lang.Object
  extended by java.lang.Enum<RobotAction.RobotMethod>
      extended by edu.stanford.hci.r3.actions.types.RobotAction.RobotMethod
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RobotAction.RobotMethod>
Enclosing class:
RobotAction

public static enum RobotAction.RobotMethod
extends java.lang.Enum<RobotAction.RobotMethod>

Different things you can ask a robot to do.


Enum Constant Summary
CREATE_SCREEN_CAPTURE
           
DELAY
           
GET_PIXEL_COLOR
           
KEY_PRESS
           
KEY_RELEASE
           
KEY_TYPE
           
MOUSE_MOVE
           
MOUSE_PRESS
           
MOUSE_RELEASE
           
MOUSE_WHEEL
           
SET_AUTO_DELAY
           
SET_AUTO_WAIT_FOR_IDLE
           
WAIT_FOR_IDLE
           
 
Method Summary
 java.lang.String getCommand()
           
static RobotAction.RobotMethod valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RobotAction.RobotMethod[] 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

CREATE_SCREEN_CAPTURE

public static final RobotAction.RobotMethod CREATE_SCREEN_CAPTURE

DELAY

public static final RobotAction.RobotMethod DELAY

GET_PIXEL_COLOR

public static final RobotAction.RobotMethod GET_PIXEL_COLOR

KEY_PRESS

public static final RobotAction.RobotMethod KEY_PRESS

KEY_RELEASE

public static final RobotAction.RobotMethod KEY_RELEASE

KEY_TYPE

public static final RobotAction.RobotMethod KEY_TYPE

MOUSE_MOVE

public static final RobotAction.RobotMethod MOUSE_MOVE

MOUSE_PRESS

public static final RobotAction.RobotMethod MOUSE_PRESS

MOUSE_RELEASE

public static final RobotAction.RobotMethod MOUSE_RELEASE

MOUSE_WHEEL

public static final RobotAction.RobotMethod MOUSE_WHEEL

SET_AUTO_DELAY

public static final RobotAction.RobotMethod SET_AUTO_DELAY

SET_AUTO_WAIT_FOR_IDLE

public static final RobotAction.RobotMethod SET_AUTO_WAIT_FOR_IDLE

WAIT_FOR_IDLE

public static final RobotAction.RobotMethod WAIT_FOR_IDLE
Method Detail

values

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

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

valueOf

public static RobotAction.RobotMethod 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

getCommand

public java.lang.String getCommand()

Copyright 2006 Stanford University