Package cz.fidentis.analyst.gui.task
Class LoadedActionEvent
java.lang.Object
java.util.EventObject
java.awt.AWTEvent
java.awt.event.ActionEvent
cz.fidentis.analyst.gui.task.LoadedActionEvent
- All Implemented Interfaces:
Serializable
A subclass of
ActionEvent
extended to carry additional data as payload.- See Also:
-
Field Summary
Fields inherited from class java.awt.event.ActionEvent
ACTION_FIRST, ACTION_LAST, ACTION_PERFORMED, ALT_MASK, CTRL_MASK, META_MASK, SHIFT_MASK
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
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionLoadedActionEvent
(Object source, int id, String command, int modifiers, Object data) Constructor.LoadedActionEvent
(Object source, int id, String command, long when, int modifiers, Object data) Constructor.LoadedActionEvent
(Object source, int id, String command, Object data) Constructor. -
Method Summary
Methods inherited from class java.awt.event.ActionEvent
getActionCommand, getModifiers, getWhen, paramString
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
LoadedActionEvent
Constructor.- Parameters:
source
- The object that originated the eventid
- An integer that identifies the event. For information on allowable values, see the class description forActionEvent
command
- A string that may specify a command (possibly one of several) associated with the eventdata
- Payload data of the event- Throws:
IllegalArgumentException
- ifsource
is null
-
LoadedActionEvent
Constructor.- Parameters:
source
- The object that originated the eventid
- An integer that identifies the event. For information on allowable values, see the class description forActionEvent
command
- A string that may specify a command (possibly one of several) associated with the eventmodifiers
- The modifier keys down during event (shift, ctrl, alt, meta). Passing negative parameter is not recommended. Zero value means that no modifiers were passeddata
- Payload data of the event- Throws:
IllegalArgumentException
- ifsource
is null
-
LoadedActionEvent
public LoadedActionEvent(Object source, int id, String command, long when, int modifiers, Object data) Constructor.- Parameters:
source
- The object that originated the eventid
- An integer that identifies the event. For information on allowable values, see the class description forActionEvent
command
- A string that may specify a command (possibly one of several) associated with the eventwhen
- A long that gives the time the event occurred. Passing negative or zero value is not recommendedmodifiers
- The modifier keys down during event (shift, ctrl, alt, meta). Passing negative parameter is not recommended. Zero value means that no modifiers were passeddata
- Payload data of the event- Throws:
IllegalArgumentException
- ifsource
is null
-
-
Method Details
-
getData
Returns payload data of the action event.- Returns:
- Payload data of the action event
-