public class ActionEvent extends AWTEvent
ACTION_PERFORMED, ADJUSTMENT_EVENT, FOCUS_GAINED, FOCUS_LOST, GARBAGE_COLLECTION, INVOCATION_EVENT, ITEM_STATE_CHANGED, KEY_PRESSED, KEY_TYPED, LIST_SELECTION, MOUSE_EVENT, PAINT_EVENT, RESERVED_ID_MAX, SCROLL_EVENT, SYNC_EVENT, WINDOW_CLOSING, WINDOW_OPENED
Constructor and Description |
---|
ActionEvent(Component source_,
java.lang.String command_) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActionCommand()
Returns the command string associated with this action.
|
public ActionEvent(Component source_, java.lang.String command_)