com.jmex.bui.event
Class BEvent
java.lang.Object
java.util.EventObject
com.jmex.bui.event.BEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- BDragEvent, BDropEvent, ChangeEvent, FocusEvent, InputEvent, TextEvent
public class BEvent
- extends java.util.EventObject
The base event class for all BUI events.
- See Also:
- Serialized Form
|
Field Summary |
protected long |
_when
|
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
protected |
BEvent(java.lang.Object source,
long when)
|
|
Method Summary |
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 |
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). |
java.lang.String |
toString()
Generates a string representation of this instance. |
protected void |
toString(java.lang.StringBuffer buf)
|
| 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 |
_when
protected long _when
BEvent
protected BEvent(java.lang.Object source,
long when)
getWhen
public 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.
toString
public java.lang.String toString()
- Generates a string representation of this instance.
- Overrides:
toString in class java.util.EventObject
dispatch
public void dispatch(ComponentListener listener)
- Instructs this event to notify the supplied listener if they implement an interface appropriate to this event.
propagateUpHierarchy
public 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).
toString
protected void toString(java.lang.StringBuffer buf)
Copyright © 2011 Michael Bayne.
All Rights Reserved.