com.jmex.bui.event
Class BEvent
java.lang.Object
java.util.EventObject
com.jmex.bui.event.BEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ChangeEvent, FocusEvent, InputEvent, TextEvent
public class BEvent
- extends EventObject
The base event class for all BUI events.
- See Also:
- Serialized Form
|
Field Summary |
protected long |
_when
|
|
Constructor Summary |
protected |
BEvent(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). |
String |
toString()
Generates a string representation of this instance. |
protected void |
toString(StringBuffer buf)
|
_when
protected long _when
BEvent
protected BEvent(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 String toString()
- Generates a string representation of this instance.
- Overrides:
toString in class 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(StringBuffer buf)
Copyright © 2008 Michael Bayne.
All Rights Reserved.