ewe.ui
Class Event

java.lang.Object
  extended byewe.ui.Event
Direct Known Subclasses:
ControlEvent, DatabaseEvent, DataChangeEvent, EditorEvent, KeyEvent, PenEvent, SIPEvent, SoftKeyEvent, TextEvent, WindowEvent

public class Event
extends Object

Event is the base class for all events.


Field Summary
 boolean consumed
          If this is set true then this should indicate that the event should not be sent to any more listeners.
static WeakSet events
           
 int flags
          This is used for Control specific flags that relate to the event.
 Object target
          The target of the event.
 int timeStamp
          The event's timestamp.
 int type
          The type of event.
 Window window
           
 
Constructor Summary
Event()
           
 
Method Summary
 String toString()
          Return a String representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode
 

Field Detail

window

public Window window

type

public int type
The type of event.


target

public 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()

consumed

public boolean consumed
If this is set true then this should indicate that the event should not be sent to any more listeners.


flags

public int flags
This is used for Control specific flags that relate to the event. Each control will define its own flags.


events

public static final WeakSet events
Constructor Detail

Event

public Event()
Method Detail

toString

public String toString()
Description copied from class: Object
Return a String representation of this object.

Overrides:
toString in class Object
Returns:
a String representing this object.