Class MovementRequestEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--java.awt.AWTEvent
              |
              +--MovementRequestEvent
Direct Known Subclasses:
MovementClawchangeRequest, MovementMovetoRequest, MovementPickupRequest, MovementReleaseRequest, MovementResetRequest, MovementRotateRequest, MovementToggleaxisRequest

public abstract class MovementRequestEvent
extends java.awt.AWTEvent

This is the class which serves to notify a MovementRequestListener that a movement has been requested.

See Also:
Serialized Form

Field Summary
 int[] arg
          The arguments to the command
static int CLAWCHANGE
          Signifies that the event is a MovementClawchangeRequest.
static int MOVEMENT_FIRST
          Simply a placeholder for the beginning of the identifiers
static int MOVEMENT_LAST
          Simply a placeholder for the end of the identifiers
static int MOVETO
          Signifies that the event is a MovementMovetoRequest.
 int numberArguments
          The number of arguments that the command has
static int PICKUP
          Signifies that the event is a MovementPickupRequest.
static int RELEASE
          Signifies that the event is a MovementReleaseRequest.
static int RESET
          Signifies that the event is a MovementResetRequest.
static int ROTATE
          Signifies that the event is a MovementRotateRequest.
static int TOGGLEAXIS
          Signifies that the event is a MovementToggleaxisRequest.
 
Fields inherited from class java.awt.AWTEvent
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MovementRequestEvent(java.lang.Object source, int id)
          Simply chains a call up to the superclass using the same information
 
Methods inherited from class java.awt.AWTEvent
consume, finalize, getID, isConsumed, paramString, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MOVEMENT_FIRST

public static final int MOVEMENT_FIRST
Simply a placeholder for the beginning of the identifiers

ROTATE

public static final int ROTATE
Signifies that the event is a MovementRotateRequest.

MOVETO

public static final int MOVETO
Signifies that the event is a MovementMovetoRequest.

PICKUP

public static final int PICKUP
Signifies that the event is a MovementPickupRequest.

RELEASE

public static final int RELEASE
Signifies that the event is a MovementReleaseRequest.

CLAWCHANGE

public static final int CLAWCHANGE
Signifies that the event is a MovementClawchangeRequest.

RESET

public static final int RESET
Signifies that the event is a MovementResetRequest.

TOGGLEAXIS

public static final int TOGGLEAXIS
Signifies that the event is a MovementToggleaxisRequest.

MOVEMENT_LAST

public static final int MOVEMENT_LAST
Simply a placeholder for the end of the identifiers

numberArguments

public int numberArguments
The number of arguments that the command has

arg

public int[] arg
The arguments to the command
Constructor Detail

MovementRequestEvent

public MovementRequestEvent(java.lang.Object source,
                            int id)
Simply chains a call up to the superclass using the same information
Parameters:
source - the obsect which created this object
id - the identifier for the type of event