GODPAPER | All Packages | All Classes | Index | Frames No Frames |
DragData

Package | feathers.dragDrop
Class | public class DragData
Inheritance | DragData Object

Stores data associated with a drag and drop operation.

See also

DragDropManager

Public Methods

| Method | Defined By
--- | --- | ---
|  | DragData() Constructor. | DragData
|  | clearDataForFormat(format:String):* Removes all data for the specified format. | DragData
|  | getDataForFormat(format:String):* Returns data for the specified format. | DragData
|  | hasDataForFormat(format:String):Boolean Determines if the specified data format is available. | DragData
|  | setDataForFormat(format:String, data:*):void Saves data for the specified format. | DragData

Constructor Detail

DragData | () | Constructor

`public function DragData()`

Constructor.

Method Detail

clearDataForFormat | () | method

`public function clearDataForFormat(format:String):*`

Removes all data for the specified format.

Parameters

| `format:String`

Returns

| `*`

getDataForFormat | () | method |

`public function getDataForFormat(format:String):*`

Returns data for the specified format.

Parameters

| `format:String`

Returns

| `*`

hasDataForFormat | () | method |

`public function hasDataForFormat(format:String):Boolean`

Determines if the specified data format is available.

Parameters

| `format:String`

Returns

| `Boolean`

setDataForFormat | () | method |

`public function setDataForFormat(format:String, data:*):void`

Saves data for the specified format.

Parameters

| `format:String`
| `data:*`

Thu Jan 16 2014, 01:11 PM +08:00