|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
com.threerings.opengl.gui.event.Event
public class Event
The base event class for all events.
| Method Summary | |
|---|---|
void |
consume()
Flags this event as consumed. |
void |
dispatch(ComponentListener listener)
Instructs this event to notify the supplied listener if they implement an interface appropriate to this event. |
long |
getWhen()
Returns the time at which this event was generated or -1 if this event was not a result of a user action with an associated timestamp. |
boolean |
isConsumed()
Checks whether the event has been flagged as consumed. |
boolean |
propagateUpHierarchy()
Returns true if this event should be propagated up the interface hierarchy (input events) or false if it should be considered processed once it is dispatched on its originating component (derivative events like action or text events). |
String |
toString()
Generates a string representation of this instance. |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public long getWhen()
public boolean isConsumed()
public void consume()
public String toString()
toString in class EventObjectpublic void dispatch(ComponentListener listener)
public boolean propagateUpHierarchy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||