Packageorg.aswing.dnd
Interfacepublic interface DragListener

Drag and Drop listener.



Public Methods
 MethodDefined by
  
Called when drag operation finished.
DragListener
  
Called while a drag operation is ongoing, when the mouse pointer enters a drop trigger component area.
DragListener
  
Called while a drag operation is ongoing, when the mouse pointer has exited the entered a drop trigger component.
DragListener
  
Called when a drag operation is ongoing(mouse is moving), while the mouse pointer is still over the entered component area.
DragListener
  
When a drag action started.
DragListener
Method detail
onDragDrop()method
public function onDragDrop(e:DragAndDropEvent):void

Called when drag operation finished.

Generally if you want to do a custom motion of the dragging movie clip when dropped, you may call the DragManager.setDropMotion() method to achieve.

Parameters
e:DragAndDropEvent — the event.

See also

onDragEnter()method 
public function onDragEnter(e:DragAndDropEvent):void

Called while a drag operation is ongoing, when the mouse pointer enters a drop trigger component area.

Parameters
e:DragAndDropEvent — the event.

See also

Component.isDropTrigger()
onDragExit()method 
public function onDragExit(e:DragAndDropEvent):void

Called while a drag operation is ongoing, when the mouse pointer has exited the entered a drop trigger component.

Parameters
e:DragAndDropEvent — the event.

See also

Component.isDropTrigger()
onDragOverring()method 
public function onDragOverring(e:DragAndDropEvent):void

Called when a drag operation is ongoing(mouse is moving), while the mouse pointer is still over the entered component area.

Parameters
e:DragAndDropEvent — the event.

See also

Component.isDropTrigger()
onDragStart()method 
public function onDragStart(e:DragAndDropEvent):void

When a drag action started.

Parameters
e:DragAndDropEvent — the event.

See also

Component.isDragEnabled()