Drag[en]gine Script Module DragonScript  1.21
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. 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...
 

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()

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

Event identifier is an action event identifier.

◆ new()

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

Create event.

Reimplemented from Dragengine.Gui.Events.ModifiableEvent.

Member Data Documentation

◆ idAction

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

Action event identifier.


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