Drag[en]gine Script Module DragonScript Script API  1.0
DragAndDrop Interface Reference

Interface for a drag and drop operation. More...

Inheritance diagram for DragAndDrop:
DefaultDragAndDrop

Public Member Functions

void dropDone (bool success)
 Drop has been processed. More...
 
DNDTypeList getDataTypes ()
 List of supported data types by the drag source. More...
 
Object getDragDataAs (String type)
 Drag data in a specific format or null if not supported. More...
 
Widget getDragSource ()
 Drag source. More...
 
void setCanDrop (bool canDrop)
 Set if dropping is possible at the current location. More...
 
bool supportsDataType (String type)
 Drag source supports a type. More...
 

Detailed Description

Interface for a drag and drop operation.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ dropDone()

void dropDone ( bool  success)

Drop has been processed.

The drag and drop operation is finished after this call.

Implemented in DefaultDragAndDrop.

§ getDataTypes()

DNDTypeList getDataTypes ( )

List of supported data types by the drag source.

Implemented in DefaultDragAndDrop.

§ getDragDataAs()

Object getDragDataAs ( String  type)

Drag data in a specific format or null if not supported.

Implemented in DefaultDragAndDrop.

§ getDragSource()

Widget getDragSource ( )

Drag source.

Implemented in DefaultDragAndDrop.

§ setCanDrop()

void setCanDrop ( bool  canDrop)

Set if dropping is possible at the current location.

Implemented in DefaultDragAndDrop.

§ supportsDataType()

bool supportsDataType ( String  type)

Drag source supports a type.

Implemented in DefaultDragAndDrop.


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