com.jmex.bui.event
Class ActionEvent
java.lang.Object
java.util.EventObject
com.jmex.bui.event.BEvent
com.jmex.bui.event.InputEvent
com.jmex.bui.event.ActionEvent
- All Implemented Interfaces:
- Serializable
public class ActionEvent
- extends InputEvent
Dispatched by a component when some sort of component-specific action
has occurred.
- See Also:
- Serialized Form
| Fields inherited from class com.jmex.bui.event.BEvent |
_when |
|
Method Summary |
void |
dispatch(ComponentListener listener)
Instructs this event to notify the supplied listener if they
implement an interface appropriate to this event. |
String |
getAction()
Returns the action associated with this event. |
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). |
protected void |
toString(StringBuffer buf)
|
_action
protected String _action
ActionEvent
public ActionEvent(Object source,
long when,
int modifiers,
String action)
getAction
public String getAction()
- Returns the action associated with this event.
dispatch
public void dispatch(ComponentListener listener)
- Description copied from class:
BEvent
- Instructs this event to notify the supplied listener if they
implement an interface appropriate to this event.
- Overrides:
dispatch in class BEvent
propagateUpHierarchy
public boolean propagateUpHierarchy()
- Description copied from class:
BEvent
- 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).
- Overrides:
propagateUpHierarchy in class BEvent
toString
protected void toString(StringBuffer buf)
- Overrides:
toString in class InputEvent
Copyright © 2008 Michael Bayne.
All Rights Reserved.