Example usage for Java javafx.scene.input DragEvent fields, constructors, methods, implement or subclass
The text is from its open source code.
EventType | DRAG_ENTERED This event occurs when drag gesture enters a node. |
EventType | DRAG_EXITED This event occurs when drag gesture exits a node. |
void | acceptTransferModes(TransferMode... transferModes) Accepts this DragEvent , choosing the transfer mode for the drop operation. |
void | consume() Marks this Event as consumed. |
TransferMode | getAcceptedTransferMode() Gets transfer mode accepted by potential target. |
Dragboard | getDragboard() A dragboard that is available to transfer data. |
Object | getGestureSource() The source object of the drag and drop gesture. |
double | getSceneX() Returns horizontal position of the event relative to the origin of the Scene that contains the DragEvent's source. |
double | getSceneY() Returns vertical position of the event relative to the origin of the Scene that contains the DragEvent's source. |
void | setDropCompleted(boolean isTransferDone) Indicates that transfer handling of this DragEvent was completed successfully during a DRAG_DROPPED event handler. |