Uses of Enum Class
javafx.scene.input.TransferMode
Package
Description
Provides the core set of base
classes for the JavaFX Scene Graph API.
Provides the set of classes for mouse and keyboard input event handling.
-
Uses of TransferMode in javafx.scene
Modifier and TypeMethodDescriptionNode.startDragAndDrop
(TransferMode... transferModes) Confirms a potential drag and drop gesture that is recognized over thisNode
.Scene.startDragAndDrop
(TransferMode... transferModes) Confirms a potential drag and drop gesture that is recognized over thisScene
. -
Uses of TransferMode in javafx.scene.input
Modifier and TypeFieldDescriptionstatic final TransferMode[]
TransferMode.ANY
Array containing all transfer modes.static final TransferMode[]
TransferMode.COPY_OR_MOVE
Array containing transfer modes COPY and MOVE.static final TransferMode[]
TransferMode.NONE
Empty array of transfer modes.Modifier and TypeMethodDescriptionfinal TransferMode
DragEvent.getAcceptedTransferMode()
Gets transfer mode accepted by potential target.final TransferMode
DragEvent.getTransferMode()
Data transfer mode.static TransferMode
Returns the enum constant of this class with the specified name.static TransferMode[]
TransferMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionfinal Set
<TransferMode> Dragboard.getTransferModes()
Gets set of transport modes supported by source of this drag opeation.Modifier and TypeMethodDescriptionvoid
DragEvent.acceptTransferModes
(TransferMode... transferModes) Accepts thisDragEvent
, choosing the transfer mode for the drop operation.ModifierConstructorDescriptionDragEvent
(Object source, EventTarget target, EventType<DragEvent> eventType, Dragboard dragboard, double x, double y, double screenX, double screenY, TransferMode transferMode, Object gestureSource, Object gestureTarget, PickResult pickResult) Constructs new DragEvent event.DragEvent
(EventType<DragEvent> eventType, Dragboard dragboard, double x, double y, double screenX, double screenY, TransferMode transferMode, Object gestureSource, Object gestureTarget, PickResult pickResult) Constructs new DragEvent event with empty source and target.