public final void setOnDragDetected (EventHandler<? super MouseEvent> value)

taken from field

Defines a function to be called when drag gesture has been detected. This is the right place to start drag and drop operation.