Uses of Class
javafx.scene.input.DragEvent
-
Packages that use DragEvent 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 DragEvent in javafx.scene
Methods in javafx.scene that return types with arguments of type DragEvent Modifier and Type Method Description EventHandler<? super DragEvent>
Node. getOnDragDone()
Gets the value of the property onDragDone.EventHandler<? super DragEvent>
Scene. getOnDragDone()
Gets the value of the property onDragDone.EventHandler<? super DragEvent>
Node. getOnDragDropped()
Gets the value of the property onDragDropped.EventHandler<? super DragEvent>
Scene. getOnDragDropped()
Gets the value of the property onDragDropped.EventHandler<? super DragEvent>
Node. getOnDragEntered()
Gets the value of the property onDragEntered.EventHandler<? super DragEvent>
Scene. getOnDragEntered()
Gets the value of the property onDragEntered.EventHandler<? super DragEvent>
Node. getOnDragExited()
Gets the value of the property onDragExited.EventHandler<? super DragEvent>
Scene. getOnDragExited()
Gets the value of the property onDragExited.EventHandler<? super DragEvent>
Node. getOnDragOver()
Gets the value of the property onDragOver.EventHandler<? super DragEvent>
Scene. getOnDragOver()
Gets the value of the property onDragOver.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.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.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.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.ObjectProperty<EventHandler<? super DragEvent>>
Node. onDragEnteredProperty()
Defines a function to be called when drag gesture enters thisNode
.ObjectProperty<EventHandler<? super DragEvent>>
Scene. onDragEnteredProperty()
Defines a function to be called when drag gesture enters thisScene
.ObjectProperty<EventHandler<? super DragEvent>>
Node. onDragExitedProperty()
Defines a function to be called when drag gesture exits thisNode
.ObjectProperty<EventHandler<? super DragEvent>>
Scene. onDragExitedProperty()
Defines a function to be called when drag gesture exits thisScene
.ObjectProperty<EventHandler<? super DragEvent>>
Node. onDragOverProperty()
Defines a function to be called when drag gesture progresses within thisNode
.ObjectProperty<EventHandler<? super DragEvent>>
Scene. onDragOverProperty()
Defines a function to be called when drag gesture progresses within thisScene
.Method parameters in javafx.scene with type arguments of type DragEvent Modifier and Type Method Description void
Node. setOnDragDone(EventHandler<? super DragEvent> value)
Sets the value of the property onDragDone.void
Scene. setOnDragDone(EventHandler<? super DragEvent> value)
Sets the value of the property onDragDone.void
Node. setOnDragDropped(EventHandler<? super DragEvent> value)
Sets the value of the property onDragDropped.void
Scene. setOnDragDropped(EventHandler<? super DragEvent> value)
Sets the value of the property onDragDropped.void
Node. setOnDragEntered(EventHandler<? super DragEvent> value)
Sets the value of the property onDragEntered.void
Scene. setOnDragEntered(EventHandler<? super DragEvent> value)
Sets the value of the property onDragEntered.void
Node. setOnDragExited(EventHandler<? super DragEvent> value)
Sets the value of the property onDragExited.void
Scene. setOnDragExited(EventHandler<? super DragEvent> value)
Sets the value of the property onDragExited.void
Node. setOnDragOver(EventHandler<? super DragEvent> value)
Sets the value of the property onDragOver.void
Scene. setOnDragOver(EventHandler<? super DragEvent> value)
Sets the value of the property onDragOver. -
Uses of DragEvent in javafx.scene.input
Fields in javafx.scene.input with type parameters of type DragEvent Modifier and Type Field Description static EventType<DragEvent>
DragEvent. ANY
Common supertype for all drag event types.static EventType<DragEvent>
DragEvent. DRAG_DONE
This event occurs on drag-and-drop gesture source after its data has been dropped on a drop target.static EventType<DragEvent>
DragEvent. DRAG_DROPPED
This event occurs when the mouse button is released during drag and drop gesture on a drop target.static EventType<DragEvent>
DragEvent. DRAG_ENTERED
This event occurs when drag gesture enters a node.static EventType<DragEvent>
DragEvent. DRAG_ENTERED_TARGET
This event occurs when drag gesture enters a node.static EventType<DragEvent>
DragEvent. DRAG_EXITED
This event occurs when drag gesture exits a node.static EventType<DragEvent>
DragEvent. DRAG_EXITED_TARGET
This event occurs when drag gesture exits a node.static EventType<DragEvent>
DragEvent. DRAG_OVER
This event occurs when drag gesture progresses within this node.Methods in javafx.scene.input that return DragEvent Modifier and Type Method Description DragEvent
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
DragEvent. copyFor(Object source, EventTarget target, EventType<DragEvent> type)
Creates a copy of the given drag event with the given fields substituted.Method parameters in javafx.scene.input with type arguments of type DragEvent Modifier and Type Method Description DragEvent
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
DragEvent. copyFor(Object source, EventTarget target, EventType<DragEvent> type)
Creates a copy of the given drag event with the given fields substituted.Constructor parameters in javafx.scene.input with type arguments of type DragEvent 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.
-