Todo
extend this interface to include dropActionChanged() notification
| Modifier and Type | Method and Description |
|---|---|
| public TransferMode | Returns: transfer mode chosen by potential targetCalled during a drag gesture, when the mouse pointer enters the operable part of the Scene. |
| public void | dragExit(double x, double y, double screenX, double screenY)
Called during a drag gesture, when the mouse pointer exits the operable part of the Scene. |
| public TransferMode | Returns: transfer mode chosen by potential targetCalled during a drag gesture, while the mouse pointer is still over (is moving over) the operable part of the Sceme. |
| public TransferMode | Returns: transfer mode chosen by targetCalled when the drag gesture is being terminated with a drop on the operable part Scene. |
| dragEnter | back to summary |
|---|---|
| public TransferMode dragEnter(double x, double y, double screenX, double screenY, TransferMode transferMode, TKClipboard dragboard) Called during a drag gesture, when the mouse pointer enters the operable part of the Scene.
| |
| dragExit | back to summary |
|---|---|
| public void dragExit(double x, double y, double screenX, double screenY) Called during a drag gesture, when the mouse pointer exits the operable part of the Scene. | |
| dragOver | back to summary |
|---|---|
| public TransferMode dragOver(double x, double y, double screenX, double screenY, TransferMode transferMode) Called during a drag gesture, while the mouse pointer is still over (is moving over) the operable part of the Sceme.
| |
| drop | back to summary |
|---|---|
| public TransferMode drop(double x, double y, double screenX, double screenY, TransferMode transferMode) Called when the drag gesture is being terminated with a drop on
the operable part Scene.
Note The data transfer should be completed before the call to
{javafx.scene.transfer.DragEvent#dropComplete(boolean))}.
After that, the transfer of data can only succeed if the data transfer is
local (within the same VM hosting the running JavaFX code).
| |