waba.ui
Class Event

java.lang.Object
  |
  +--waba.ui.Event
Direct Known Subclasses:
ControlEvent, KeyEvent, PenEvent

public class Event
extends java.lang.Object

Event is the base class for all events.


Field Summary
 java.lang.Object target
          The target of the event.
 int timeStamp
          The event's timestamp.
 int type
          The type of event.
 
Constructor Summary
Event()
           
Event(int type, java.lang.Object target, int timeStamp)
          constructs a new event
 
Methods inherited from class java.lang.Object
hashCode, toString
 

Field Detail

type

public int type
The type of event.

target

public java.lang.Object target
The target of the event. For user-interface events, this is the control the event is associated with.

timeStamp

public int timeStamp
The event's timestamp.
See Also:
Vm.getTimeStamp()
Constructor Detail

Event

public Event(int type,
             java.lang.Object target,
             int timeStamp)
constructs a new event

Event

public Event()