class GActionEvent| Constructor | |
| GActionEvent() GActionEvent(e) GActionEvent(type, actionCommand) | Creates a GActionEvent using the specified parameters or those taken from the more general event e. |
| Methods | |
| getEventType() | Returns the enumerated type constant corresponding to the specific type of action event. |
| getActionCommand() | Returns the action command associated with this event. |
| toString() | Converts the event to a human-readable representation of the event. |
GActionEvent(); GActionEvent(GEvent e); GActionEvent(ActionEventType type, string actionCommand);
GActionEvent using the specified parameters or
those taken from the more general event e.
Usage:
GActionEvent actionEvent; GActionEvent actionEvent(e); GActionEvent actionEvent(type, actionCommand);
ActionEventType getEventType();
Usage:
ActionEventType type = e.getEventType();
string getActionCommand();
Usage:
string cmd = e.getActionCommand();
string toString();
Usage:
string str = e.toString();