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

Drag and drop event. More...

Inheritance diagram for DragEvent:
ModifiableEvent Event

Public Member Functions

DragAndDrop getDragAndDrop ()
 Drag and drop action. More...
 
Point getPosition ()
 Position. More...
 
DragEvent new (Object source, int id, DragAndDrop dragAndDrop, int modifiers)
 Creates drag event. More...
 
DragEvent new (Object source, int id, DragAndDrop dragAndDrop, int modifiers, Point position)
 Create drag event. More...
 
DragEvent relocate (Point position)
 Create copy of drag event with new position. 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 isDragEvent (int identifier)
 Event identifier is a drag and drop event identifier. More...
 

Public Attributes

final int ID_DRAG_DROP = 43
 Drag drop event identifier. More...
 
final int ID_DRAG_ENTER = 40
 Drag enter event identifier. More...
 
final int ID_DRAG_LEAVE = 41
 Drag leave event identifier. More...
 
final int ID_DRAG_OVER = 42
 Drag move 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

Drag and drop event.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

DragAndDrop getDragAndDrop ( )

Drag and drop action.

Point getPosition ( )

Position.

static bool isDragEvent ( int  identifier)
static

Event identifier is a drag and drop event identifier.

DragEvent new ( Object  source,
int  id,
DragAndDrop  dragAndDrop,
int  modifiers 
)

Creates drag event.

DragEvent new ( Object  source,
int  id,
DragAndDrop  dragAndDrop,
int  modifiers,
Point  position 
)

Create drag event.

DragEvent relocate ( Point  position)

Create copy of drag event with new position.

Member Data Documentation

final int ID_DRAG_DROP = 43

Drag drop event identifier.

final int ID_DRAG_ENTER = 40

Drag enter event identifier.

final int ID_DRAG_LEAVE = 41

Drag leave event identifier.

final int ID_DRAG_OVER = 42

Drag move event identifier.


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