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

Package | feathers.dragDrop
Interface | public interface IDragSource

An object that can initiate drag actions with the drag and drop manager.

See also

DragDropManager

Public Methods

| Method | Defined By
--- | --- | ---
|  | dispatchEvent(event:Event):void | IDragSource
|  | dispatchEventWith(type:String, bubbles:Boolean = false, data:Object = null):void | IDragSource

Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | dragComplete | Dispatched when the drop has been completed or when the drag has been cancelled. | IDragSource
|  | dragStart | Dispatched when the drag and drop manager begins the drag. | IDragSource

Method Detail

dispatchEvent | () | method

`public function dispatchEvent(event:Event):void`

Parameters

| `event:Event`

dispatchEventWith | () | method |

`public function dispatchEventWith(type:String, bubbles:Boolean = false, data:Object = null):void`

Parameters

| `type:String`
| `bubbles:Boolean` (default = `false`)``
| `data:Object` (default = `null`)``

Event Detail

dragComplete | Event

Event Object Type: `feathers.events.DragDropEvent`
DragDropEvent.type property = `=feathers.events.DragDropEvent.DRAG_COMPLETE`

Dispatched when the drop has been completed or when the drag has been cancelled.

dragStart | Event |

Event Object Type: `feathers.events.DragDropEvent`
DragDropEvent.type property = `=feathers.events.DragDropEvent.DRAG_START`

Dispatched when the drag and drop manager begins the drag.

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