Assigns a delegate to the itemDrag event.
public final void addOnItemDrag( ItemDragEventHandler value )
value
The ItemDragEventHandler delegate to be notified when the event occurs.
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