All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.event.ActionEvent
java.lang.Object
|
+----java.util.EventObject
|
+----java.awt.AWTEvent
|
+----java.awt.event.ActionEvent
- public class ActionEvent
- extends AWTEvent
The action semantic event.
- See Also:
- ActionListener
-
ACTION_FIRST
- Marks the first integer id for the range of action event ids.
-
ACTION_LAST
- Marks the last integer id for the range of action event ids.
-
ACTION_PERFORMED
- An action performed event type.
-
ALT_MASK
-
The alt modifier constant.
-
CTRL_MASK
- The control modifier constant.
-
META_MASK
-
The meta modifier constant.
-
SHIFT_MASK
- The shift modifier constant.
-
ActionEvent(Object, int, String)
- Constructs an ActionEvent object with the specified source object.
-
ActionEvent(Object, int, String, int)
- Constructs an ActionEvent object with the specified source object.
-
getActionCommand()
- Returns the command name associated with this action.
-
getModifiers()
- Returns the modifiers held down during this action event.
-
paramString()
-
SHIFT_MASK
Properties Public Constant
SHIFT_MASK=int
- The shift modifier constant.
CTRL_MASK
Properties Public Constant
CTRL_MASK=int
- The control modifier constant.
META_MASK
Properties Public Constant
META_MASK=int
- The meta modifier constant.
ALT_MASK
Properties Public Constant
ALT_MASK=int
- The alt modifier constant.
ACTION_FIRST
Properties Public Constant
ACTION_FIRST=int
- Marks the first integer id for the range of action event ids.
ACTION_LAST
Properties Public Constant
ACTION_LAST=int
- Marks the last integer id for the range of action event ids.
ACTION_PERFORMED
Properties Public Constant
ACTION_PERFORMED=int
- An action performed event type.
ActionEvent
method ActionEvent(source=Object, -
id=int, -
command=String) public
- Constructs an ActionEvent object with the specified source object.
- Parameters:
- source - the object where the event originated
- id - the type of event
- command - the command string for this action event
ActionEvent
method ActionEvent(source=Object, -
id=int, -
command=String, -
modifiers=int) public
- Constructs an ActionEvent object with the specified source object.
- Parameters:
- source - the object where the event originated
- id - the type of event
- command - the command string for this action event
- modifiers - the modifiers held down during this action
getActionCommand
method getActionCommand() returns String public
- Returns the command name associated with this action.
getModifiers
method getModifiers() returns int public
- Returns the modifiers held down during this action event.
paramString
method paramString() returns String public
- Overrides:
- paramString in class AWTEvent
All Packages Class Hierarchy This Package Previous Next Index