sub_arctic.anim
Class anim_event

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--java.awt.AWTEvent
              |
              +--sub_arctic.anim.anim_event

public class anim_event
extends java.awt.AWTEvent

This is a subtype of the AWTEvent class which we use to force ourselves to be synchronized with the event dispatch process. This event is sent to a component and it eventually ends up being dispatched by the event handling code of subarctic.

See Also:
Serialized Form

Field Summary
protected  java.lang.Long _timestamp
          Store the timestamp of this event.
 
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
anim_event(java.lang.Object source, int type, java.lang.Long t)
          Create a new anim_event with a given timestamp.
 
Method Summary
 java.lang.Long timestamp()
          Retrieve the timestamp on this event.
 
Methods inherited from class java.awt.AWTEvent
consume, getID, isConsumed, paramString, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_timestamp

protected java.lang.Long _timestamp
Store the timestamp of this event.
Constructor Detail

anim_event

public anim_event(java.lang.Object source,
                  int type,
                  java.lang.Long t)
Create a new anim_event with a given timestamp.
Parameters:
Object - source the generator of this event
int - type the type of this event (ANIMATION_EVENT)
Long - t the time this event was created
Method Detail

timestamp

public java.lang.Long timestamp()
Retrieve the timestamp on this event.
Returns:
long the time this even was generated