Drag[en]gine Script Module DragonScript Script API  1.0
ActionEvent Class Reference

Action event. More...

Inheritance diagram for ActionEvent:
ModifiableEvent Event

Public Member Functions

ActionEvent new (Object source, int id, int modifiers)
 Create event. More...
 
- Public Member Functions inherited from ModifiableEvent
int getModifiers ()
 Modifier keys. More...
 
ModifiableEvent new (Object source, int id, int modifiers)
 Create event. More...
 
- Public Member Functions inherited from 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...
 

Public Attributes

final int ID_ACTION = 30
 Action event identifier. More...
 
- Public Attributes inherited from ModifiableEvent
final int ALT = 0h4
 Alt key pressed. More...
 
final int CONTROL = 0h2
 Control key pressed. More...
 
final int SHIFT = 0h1
 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.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ isActionEvent()

static bool isActionEvent ( int  identifier)
static

Event identifier is an action event identifier.

§ new()

ActionEvent new ( Object  source,
int  id,
int  modifiers 
)

Create event.

Member Data Documentation

§ ID_ACTION

final int ID_ACTION = 30

Action event identifier.


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