Uses of Class
javafx.scene.input.TransferMode
Package | Description |
---|---|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
-
Uses of TransferMode in javafx.scene
Methods in javafx.scene with parameters of type TransferMode Modifier and Type Method Description Dragboard
Node. startDragAndDrop(TransferMode... transferModes)
Confirms a potential drag and drop gesture that is recognized over thisNode
.Dragboard
Scene. startDragAndDrop(TransferMode... transferModes)
Confirms a potential drag and drop gesture that is recognized over thisScene
. -
Uses of TransferMode in javafx.scene.input
Fields in javafx.scene.input declared as TransferMode Modifier and Type Field Description static TransferMode[]
TransferMode. ANY
Array containing all transfer modes.static TransferMode[]
TransferMode. COPY_OR_MOVE
Array containing transfer modes COPY and MOVE.static TransferMode[]
TransferMode. NONE
Empty array of transfer modes.Methods in javafx.scene.input that return TransferMode Modifier and Type Method Description TransferMode
DragEvent. getAcceptedTransferMode()
Gets transfer mode accepted by potential target.TransferMode
DragEvent. getTransferMode()
Data transfer mode.static TransferMode
TransferMode. valueOf(String name)
Returns the enum constant of this type with the specified name.static TransferMode[]
TransferMode. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in javafx.scene.input that return types with arguments of type TransferMode Modifier and Type Method Description Set<TransferMode>
Dragboard. getTransferModes()
Gets set of transport modes supported by source of this drag opeation.Methods in javafx.scene.input with parameters of type TransferMode Modifier and Type Method Description void
DragEvent. acceptTransferModes(TransferMode... transferModes)
Accepts thisDragEvent
, choosing the transfer mode for the drop operation.Constructors in javafx.scene.input with parameters of type TransferMode Constructor Description DragEvent(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.