I have a non-serializable object (it contains bound properties) listed in a JavaFX TreeView. I'd like the user to be able to drag the TreeView item containing the object onto a LineChart to be plotted but I can't populate a DragBoard with this object since it's non-serializable. I don't really want to copy the object, just a link to it. I tried setting the TransferMode to LINK but this seems to be only an indicator of the intended action; the process still required serialization of the object to be dragged.
How can I drag and drop only a reference to an object?