| java.awt.AWTEvent java.awt.event.ActionEvent
ActionEvent | public class ActionEvent extends AWTEvent (Code) | | The action semantic event.
See Also: ActionListener version: 1.18 08/19/02 author: Carl Quinn |
Field Summary | |
final public static int | ACTION_FIRST Marks the first integer id for the range of action event ids. | final public static int | ACTION_LAST Marks the last integer id for the range of action event ids. | final public static int | ACTION_PERFORMED An action performed event type. | final public static int | ALT_MASK The alt modifier constant. | final public static int | CTRL_MASK The control modifier constant. | final public static int | META_MASK The meta modifier constant. | final public static int | SHIFT_MASK The shift modifier constant. | String | actionCommand | int | modifiers | long | when |
Constructor Summary | |
public | ActionEvent(Object source, int id, String command) Constructs an ActionEvent object with the specified source object. | public | ActionEvent(Object source, int id, String command, int modifiers) Constructs an ActionEvent object with the specified source object. | public | ActionEvent(Object source, int id, String command, long when, int modifiers) |
ACTION_FIRST | final public static int ACTION_FIRST(Code) | | Marks the first integer id for the range of action event ids.
|
ACTION_LAST | final public static int ACTION_LAST(Code) | | Marks the last integer id for the range of action event ids.
|
ACTION_PERFORMED | final public static int ACTION_PERFORMED(Code) | | An action performed event type.
|
ALT_MASK | final public static int ALT_MASK(Code) | | The alt modifier constant.
|
CTRL_MASK | final public static int CTRL_MASK(Code) | | The control modifier constant.
|
META_MASK | final public static int META_MASK(Code) | | The meta modifier constant.
|
SHIFT_MASK | final public static int SHIFT_MASK(Code) | | The shift modifier constant.
Note: these values are nolonger initialized from Event.class
as this class is only present in PP, and not PBP.
|
ActionEvent | public ActionEvent(Object source, int id, String command)(Code) | | Constructs an ActionEvent object with the specified source object.
Parameters: source - the object where the event originated Parameters: id - the type of event Parameters: command - the command string for this action event |
ActionEvent | public ActionEvent(Object source, int id, String command, int modifiers)(Code) | | Constructs an ActionEvent object with the specified source object.
Parameters: source - the object where the event originated Parameters: id - the type of event Parameters: command - the command string for this action event Parameters: modifiers - the modifiers held down during this action |
ActionEvent | public ActionEvent(Object source, int id, String command, long when, int modifiers)(Code) | | |
getActionCommand | public String getActionCommand()(Code) | | Returns the command name associated with this action.
|
getModifiers | public int getModifiers()(Code) | | Returns the modifiers held down during this action event.
|
getWhen | public long getWhen()(Code) | | |
|
|