Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Gui.Events.ActionEvent Class Reference

Action event. More...

Inheritance diagram for Dragengine.Gui.Events.ActionEvent:
Dragengine.Gui.Events.ModifiableEvent Dragengine.Gui.Events.Event

Public Member Functions

ActionEvent new (Object source, int id, int modifiers)
 Create event.
Public Member Functions inherited from Dragengine.Gui.Events.ModifiableEvent
int getModifiers ()
 Modifier keys.
Public Member Functions inherited from Dragengine.Gui.Events.Event
int getIdentifier ()
 Event identifier.
Object getSource ()
 Event source.
Event new (Object source, int id)
 Create event.

Static Public Member Functions

static bool isActionEvent (int identifier)
 Event identifier is an action event identifier.

Static Public Attributes

static final int idAction = 30
 Action event identifier.
Static Public Attributes inherited from Dragengine.Gui.Events.ModifiableEvent
static final int alt = 4
 Alt key pressed.
static final int control = 2
 Control key pressed.
static final int shift = 1
 Shift key pressed.

Detailed Description

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.

Member Function Documentation

◆ isActionEvent()

bool Dragengine.Gui.Events.ActionEvent.isActionEvent ( int identifier)
static

Event identifier is an action event identifier.

References idAction, and isActionEvent().

Referenced by isActionEvent().

◆ new()

ActionEvent Dragengine.Gui.Events.ActionEvent.new ( Object source,
int id,
int modifiers )

Create event.

Reimplemented from Dragengine.Gui.Events.ModifiableEvent.

References new().

Referenced by new().

Member Data Documentation

◆ idAction

final int Dragengine.Gui.Events.ActionEvent.idAction = 30
static

Action event identifier.

Referenced by isActionEvent().


The documentation for this class was generated from the following file: