|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--waba.ui.Event
Event is the base class for all events.
Field Summary | |
boolean |
consumed
Set to true to break the event propagation up to the parents |
Object |
target
The target of the event. |
int |
timeStamp
The event's timestamp. |
int |
type
The type of event. |
Constructor Summary | |
Event()
Constructs a new event with the current time stamp |
|
Event(int type,
Object target,
int timeStamp)
constructs a new event based in the given parameters. |
Method Summary | |
static int |
getNextAvailableEventId()
Register a new event with the system. |
static boolean |
isAvailable()
Returns true if there is an event available in the VM event queue. |
void |
touch()
Updates the timeStamp parameter with the current time |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
toString,
wait,
wait |
Field Detail |
public int type
public Object target
public int timeStamp
Vm.getTimeStamp()
public boolean consumed
Constructor Detail |
public Event(int type, Object target, int timeStamp)
public Event()
Method Detail |
public void touch()
public static int getNextAvailableEventId()
public static boolean isAvailable()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |