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

Drag and drop event. More...

Inheritance diagram for Dragengine.Gui.Events.DragEvent:
Dragengine.Gui.Events.ModifiableEvent Dragengine.Gui.Events.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 Dragengine.Gui.Events.ModifiableEvent
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 Member Functions

static bool isDragEvent (int identifier)
 Event identifier is a drag and drop event identifier. More...
 

Static Public Attributes

static final int idDragDrop = 43
 Drag drop event identifier. More...
 
static final int idDragEnter = 40
 Drag enter event identifier. More...
 
static final int idDragLeave = 41
 Drag leave event identifier. More...
 
static final int idDragOver = 42
 Drag move 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

Drag and drop event.

Member Function Documentation

◆ getDragAndDrop()

DragAndDrop Dragengine.Gui.Events.DragEvent.getDragAndDrop ( )

Drag and drop action.

◆ getPosition()

Point Dragengine.Gui.Events.DragEvent.getPosition ( )

Position.

◆ isDragEvent()

static bool Dragengine.Gui.Events.DragEvent.isDragEvent ( int  identifier)
static

Event identifier is a drag and drop event identifier.

◆ new() [1/2]

DragEvent Dragengine.Gui.Events.DragEvent.new ( Object  source,
int  id,
DragAndDrop  dragAndDrop,
int  modifiers 
)

Creates drag event.

◆ new() [2/2]

DragEvent Dragengine.Gui.Events.DragEvent.new ( Object  source,
int  id,
DragAndDrop  dragAndDrop,
int  modifiers,
Point  position 
)

Create drag event.

◆ relocate()

DragEvent Dragengine.Gui.Events.DragEvent.relocate ( Point  position)

Create copy of drag event with new position.

Member Data Documentation

◆ idDragDrop

final int Dragengine.Gui.Events.DragEvent.idDragDrop = 43
static

Drag drop event identifier.

◆ idDragEnter

final int Dragengine.Gui.Events.DragEvent.idDragEnter = 40
static

Drag enter event identifier.

◆ idDragLeave

final int Dragengine.Gui.Events.DragEvent.idDragLeave = 41
static

Drag leave event identifier.

◆ idDragOver

final int Dragengine.Gui.Events.DragEvent.idDragOver = 42
static

Drag move event identifier.


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