Example usage for Java java.awt.event ActionEvent fields, constructors, methods, implement or subclass
The text is from its open source code.
int | SHIFT_MASK The shift modifier. |
int | CTRL_MASK The control modifier. |
int | META_MASK The meta modifier. |
int | ALT_MASK The alt modifier. |
int | ACTION_FIRST The first number in the range of ids used for action events. |
int | ACTION_LAST The last number in the range of ids used for action events. |
int | ACTION_PERFORMED This event id indicates that a meaningful action occurred. |
ActionEvent(Object source, int id, String command, int modifiers) Constructs an ActionEvent object with modifier keys. | |
ActionEvent(Object source, int id, String command) Constructs an ActionEvent object. | |
ActionEvent(Object source, int id, String command, long when, int modifiers) Constructs an ActionEvent object with the specified modifier keys and timestamp. |
void | consume() Consumes this event, if this event can be consumed. |
String | getActionCommand() Returns the command string associated with this action. |
Class> | getClass() Returns the runtime class of this Object . |
int | getID() Returns the event type. |
int | getModifiers() Returns the modifier keys held down during this action event. |
Object | getSource() The object on which the Event initially occurred. |
long | getWhen() Returns the timestamp of when this event occurred. |
String | paramString() Returns a parameter string identifying this action event. |
String | toString() Returns a String representation of this object. |