DragData

public class
feathers.dragDrop.DragData

Description

Stores data associated with a drag and drop operation.

See also:
feathers.dragDrop.DragDropManager

API overview

Constructor

DragData ()
Constructor.

Functions

Public functions

clearDataForFormat ( format: String ): Object

Removes all data for the specified format

getDataForFormat ( format: String ): Object

Returns data for the specified format

hasDataForFormat ( format: String ): Boolean

Determines if the specified data format is available

setDataForFormat ( format: String , data: Object ): Void

Saves data for the specified format

Constructor

DragData ()

Constructor.

Functions

clearDataForFormat ( format: String ): Object

Removes all data for the specified format.

Parameters

format: String


getDataForFormat ( format: String ): Object

Returns data for the specified format.

Parameters

format: String


getFullTypeName (): String
Inherited from Object

native

Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.


Returns

String fully qualified type name of the Object.

getType (): Type
Inherited from Object

native

Gets the Type that describes the Object.


Returns

Type The Type that describes the object.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

hasDataForFormat ( format: String ): Boolean

Determines if the specified data format is available.

Parameters

format: String


setDataForFormat ( format: String , data: Object ): Void

Saves data for the specified format.

Parameters

format: String
data: Object


toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.

: