Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.Events.ModifiableEvent Class Reference

Immutable event modified by the state of modifier keys. More...

Inheritance diagram for Dragengine.Gui.Events.ModifiableEvent:
Dragengine.Gui.Events.Event Dragengine.Gui.Events.ActionEvent Dragengine.Gui.Events.DragEvent Dragengine.Gui.Events.GamepadEvent Dragengine.Gui.Events.KeyEvent Dragengine.Gui.Events.MouseEvent

Public Member Functions

int getModifiers ()
 Modifier keys. More...
 
ModifiableEvent new (Object source, int id, int modifiers)
 Create event. 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 Attributes

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

Immutable event modified by the state of modifier keys.

Member Function Documentation

◆ getModifiers()

int Dragengine.Gui.Events.ModifiableEvent.getModifiers ( )

Modifier keys.

◆ new()

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

Create event.

Reimplemented in Dragengine.Gui.Events.ActionEvent.

Member Data Documentation

◆ alt

final int Dragengine.Gui.Events.ModifiableEvent.alt = 4
static

Alt key pressed.

◆ control

final int Dragengine.Gui.Events.ModifiableEvent.control = 2
static

Control key pressed.

◆ shift

final int Dragengine.Gui.Events.ModifiableEvent.shift = 1
static

Shift key pressed.


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