edu.neu.ccs.gui
Class FocusActionEvent
java.lang.Object
java.util.EventObject
java.awt.AWTEvent
java.awt.event.ActionEvent
edu.neu.ccs.gui.FocusActionEvent
- All Implemented Interfaces:
- Serializable
- public class FocusActionEvent
- extends ActionEvent
Class of events representing an action
triggered by a focus event.
- Since:
- 1.0.1
- Version:
- 2.2
- See Also:
- Serialized Form
|
Field Summary |
protected FocusEvent |
event
The focus event that triggered this focus action event. |
| Fields inherited from class java.awt.AWTEvent |
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK |
|
Constructor Summary |
FocusActionEvent(FocusEvent evt,
Object source)
Constructs a focus action event triggered by
the given focus event generated by
the given source object. |
FocusActionEvent(FocusEvent evt,
Object source,
int id,
String command)
Constructs a focus action event triggered by
the given focus event generated by
the given source object,
with the given identifier and command name. |
event
protected FocusEvent event
- The focus event that triggered this focus action event.
FocusActionEvent
public FocusActionEvent(FocusEvent evt,
Object source)
- Constructs a focus action event triggered by
the given focus event generated by
the given source object.
- Parameters:
evt - the triggering focus eventsource - the object that originated the event
FocusActionEvent
public FocusActionEvent(FocusEvent evt,
Object source,
int id,
String command)
- Constructs a focus action event triggered by
the given focus event generated by
the given source object,
with the given identifier and command name.
- Parameters:
evt - the triggering focus eventsource - the object that originated the eventid - an integer that identifies the eventcommand - a string that may specify a command
(possibly one of several) associated with the event
getFocusEvent
public FocusEvent getFocusEvent()
- Returns the focus event that triggered
this focus action event.