public Dragboard startDragAndDrop (TransferMode… transferModes)

Confirms a potential drag and drop gesture that is recognized over this Node. Can be called only from a DRAG_DETECTED event handler. The returned Dragboard is used to transfer data during the drag and drop gesture. Placing this Node's data on the Dragboard also identifies this Node as the source of the drag and drop gesture. More detail about drag and drop gestures is described in the overivew of DragEvent.

Parameters:
transferModes    The supported TransferMode(s) of this Node

Returns:  A Dragboard to place this Node's data on

Exceptions:
IllegalStateException    if drag and drop cannot be started at this moment (it's called outside of DRAG_DETECTED event handling or this node is not in scene).

See also:
DragEvent