Drag[en]gine Script Module DragonScript
1.23
|
Action event. More...
Public Member Functions | |
ActionEvent | new (Object source, int id, int modifiers) |
Create event. More... | |
Public Member Functions inherited from Dragengine.Gui.Events.ModifiableEvent | |
int | getModifiers () |
Modifier keys. More... | |
Public Member Functions inherited from Dragengine.Gui.Events.Event | |
int | getIdentifier () |
Event identifier. More... | |
Object | getSource () |
Event source. More... | |
Event | new (Object source, int id) |
Create event. More... | |
Static Public Member Functions | |
static bool | isActionEvent (int identifier) |
Event identifier is an action event identifier. More... | |
Static Public Attributes | |
static final int | idAction = 30 |
Action event identifier. More... | |
Static Public Attributes inherited from Dragengine.Gui.Events.ModifiableEvent | |
static final int | alt = 4 |
Alt key pressed. More... | |
static final int | control = 2 |
Control key pressed. More... | |
static final int | shift = 1 |
Shift key pressed. More... | |
Action event.
Action events are used by classes which have only one reasonable action they carry out. The action can be different depending on the modifier key pressed at that time. Action events are typically use with ActionListener.
|
static |
Event identifier is an action event identifier.
ActionEvent Dragengine.Gui.Events.ActionEvent.new | ( | Object | source, |
int | id, | ||
int | modifiers | ||
) |
Create event.
Reimplemented from Dragengine.Gui.Events.ModifiableEvent.
|
static |
Action event identifier.