ListView.addOnItemDrag

Overview | Methods | This Package | All Packages

ListView.addOnItemDrag

Assigns a delegate to the itemDrag event.

Syntax

public final void addOnItemDrag( ItemDragEventHandler value )

Parameters

value

The ItemDragEventHandler delegate to be notified when the event occurs.

Remarks

Passing an event handler as a parameter to this method is equivalent to setting the itemDrag event to that method in the Properties window. The itemDrag event occurs when the user begins dragging an item. A common response to this event is to call the doDragDrop method.

See Also   removeOnItemDrag