Uses of Class
javafx.scene.input.DragEvent
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 DragEvent in javafx.scene
Modifier and TypeMethodDescriptionfinal EventHandler<? super DragEvent>
Node.getOnDragDone()
Gets the value of theonDragDone
property.final EventHandler<? super DragEvent>
Scene.getOnDragDone()
Gets the value of theonDragDone
property.final EventHandler<? super DragEvent>
Node.getOnDragDropped()
Gets the value of theonDragDropped
property.final EventHandler<? super DragEvent>
Scene.getOnDragDropped()
Gets the value of theonDragDropped
property.final EventHandler<? super DragEvent>
Node.getOnDragEntered()
Gets the value of theonDragEntered
property.final EventHandler<? super DragEvent>
Scene.getOnDragEntered()
Gets the value of theonDragEntered
property.final EventHandler<? super DragEvent>
Node.getOnDragExited()
Gets the value of theonDragExited
property.final EventHandler<? super DragEvent>
Scene.getOnDragExited()
Gets the value of theonDragExited
property.final EventHandler<? super DragEvent>
Node.getOnDragOver()
Gets the value of theonDragOver
property.final EventHandler<? super DragEvent>
Scene.getOnDragOver()
Gets the value of theonDragOver
property.final ObjectProperty<EventHandler<? super DragEvent>>
Node.onDragDoneProperty()
Defines a function to be called when thisNode
is a drag and drop gesture source after its data has been dropped on a drop target.final ObjectProperty<EventHandler<? super DragEvent>>
Scene.onDragDoneProperty()
Defines a function to be called when thisScene
is a drag and drop gesture source after its data has been dropped on a drop target.final ObjectProperty<EventHandler<? super DragEvent>>
Node.onDragDroppedProperty()
Defines a function to be called when the mouse button is released on thisNode
during drag and drop gesture.final ObjectProperty<EventHandler<? super DragEvent>>
Scene.onDragDroppedProperty()
Defines a function to be called when the mouse button is released on thisScene
during drag and drop gesture.final ObjectProperty<EventHandler<? super DragEvent>>
Node.onDragEnteredProperty()
Defines a function to be called when drag gesture enters thisNode
.final ObjectProperty<EventHandler<? super DragEvent>>
Scene.onDragEnteredProperty()
Defines a function to be called when drag gesture enters thisScene
.final ObjectProperty<EventHandler<? super DragEvent>>
Node.onDragExitedProperty()
Defines a function to be called when drag gesture exits thisNode
.final ObjectProperty<EventHandler<? super DragEvent>>
Scene.onDragExitedProperty()
Defines a function to be called when drag gesture exits thisScene
.final ObjectProperty<EventHandler<? super DragEvent>>
Node.onDragOverProperty()
Defines a function to be called when drag gesture progresses within thisNode
.final ObjectProperty<EventHandler<? super DragEvent>>
Scene.onDragOverProperty()
Defines a function to be called when drag gesture progresses within thisScene
.Modifier and TypeMethodDescriptionfinal void
Node.setOnDragDone
(EventHandler<? super DragEvent> value) Sets the value of theonDragDone
property.final void
Scene.setOnDragDone
(EventHandler<? super DragEvent> value) Sets the value of theonDragDone
property.final void
Node.setOnDragDropped
(EventHandler<? super DragEvent> value) Sets the value of theonDragDropped
property.final void
Scene.setOnDragDropped
(EventHandler<? super DragEvent> value) Sets the value of theonDragDropped
property.final void
Node.setOnDragEntered
(EventHandler<? super DragEvent> value) Sets the value of theonDragEntered
property.final void
Scene.setOnDragEntered
(EventHandler<? super DragEvent> value) Sets the value of theonDragEntered
property.final void
Node.setOnDragExited
(EventHandler<? super DragEvent> value) Sets the value of theonDragExited
property.final void
Scene.setOnDragExited
(EventHandler<? super DragEvent> value) Sets the value of theonDragExited
property.final void
Node.setOnDragOver
(EventHandler<? super DragEvent> value) Sets the value of theonDragOver
property.final void
Scene.setOnDragOver
(EventHandler<? super DragEvent> value) Sets the value of theonDragOver
property. -
Uses of DragEvent in javafx.scene.input
Modifier and TypeFieldDescriptionDragEvent.ANY
Common supertype for all drag event types.DragEvent.DRAG_DONE
This event occurs on drag-and-drop gesture source after its data has been dropped on a drop target.DragEvent.DRAG_DROPPED
This event occurs when the mouse button is released during drag and drop gesture on a drop target.DragEvent.DRAG_ENTERED
This event occurs when drag gesture enters a node.DragEvent.DRAG_ENTERED_TARGET
This event occurs when drag gesture enters a node.DragEvent.DRAG_EXITED
This event occurs when drag gesture exits a node.DragEvent.DRAG_EXITED_TARGET
This event occurs when drag gesture exits a node.DragEvent.DRAG_OVER
This event occurs when drag gesture progresses within this node.Modifier and TypeMethodDescriptionDragEvent.copyFor
(Object newSource, EventTarget newTarget) DragEvent.copyFor
(Object source, EventTarget target, Object gestureSource, Object gestureTarget, EventType<DragEvent> eventType) Creates a copy of the given drag event with the given fields substituted.DragEvent.copyFor
(Object source, EventTarget target, EventType<DragEvent> type) Creates a copy of the given drag event with the given fields substituted.Modifier and TypeMethodDescriptionDragEvent.copyFor
(Object source, EventTarget target, Object gestureSource, Object gestureTarget, EventType<DragEvent> eventType) Creates a copy of the given drag event with the given fields substituted.DragEvent.copyFor
(Object source, EventTarget target, EventType<DragEvent> type) Creates a copy of the given drag event with the given fields substituted.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.