# Uses of Class
javafx.scene.input.MouseDragEvent

Packages that use MouseDragEvent
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 MouseDragEvent in javafx.scene

  Methods in javafx.scene that return types with arguments of type MouseDragEvent
  Modifier and Type
  Method
  Description
  `final EventHandler<? super MouseDragEvent>`
  Node.`getOnMouseDragDone()`
  Gets the value of the `onMouseDragDone` property.
  `final EventHandler<? super MouseDragEvent>`
  Scene.`getOnMouseDragDone()`
  Gets the value of the `onMouseDragDone` property.
  `final EventHandler<? super MouseDragEvent>`
  Node.`getOnMouseDragEntered()`
  Gets the value of the `onMouseDragEntered` property.
  `final EventHandler<? super MouseDragEvent>`
  Scene.`getOnMouseDragEntered()`
  Gets the value of the `onMouseDragEntered` property.
  `final EventHandler<? super MouseDragEvent>`
  Node.`getOnMouseDragExited()`
  Gets the value of the `onMouseDragExited` property.
  `final EventHandler<? super MouseDragEvent>`
  Scene.`getOnMouseDragExited()`
  Gets the value of the `onMouseDragExited` property.
  `final EventHandler<? super MouseDragEvent>`
  Node.`getOnMouseDragOver()`
  Gets the value of the `onMouseDragOver` property.
  `final EventHandler<? super MouseDragEvent>`
  Scene.`getOnMouseDragOver()`
  Gets the value of the `onMouseDragOver` property.
  `final EventHandler<? super MouseDragEvent>`
  Node.`getOnMouseDragReleased()`
  Gets the value of the `onMouseDragReleased` property.
  `final EventHandler<? super MouseDragEvent>`
  Scene.`getOnMouseDragReleased()`
  Gets the value of the `onMouseDragReleased` property.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Node.`onMouseDragDoneProperty()`
  Defines a function to be called when a full press-drag-release gesture ends with this node as its source.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Scene.`onMouseDragDoneProperty()`
  Defines a function to be called when a full press-drag-release gesture ends.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Node.`onMouseDragEnteredProperty()`
  Defines a function to be called when a full press-drag-release gesture enters this `Node`.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Scene.`onMouseDragEnteredProperty()`
  Defines a function to be called when a full press-drag-release gesture enters this `Scene`.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Node.`onMouseDragExitedProperty()`
  Defines a function to be called when a full press-drag-release gesture leaves this `Node`.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Scene.`onMouseDragExitedProperty()`
  Defines a function to be called when a full press-drag-release gesture exits this `Scene`.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Node.`onMouseDragOverProperty()`
  Defines a function to be called when a full press-drag-release gesture progresses within this `Node`.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Scene.`onMouseDragOverProperty()`
  Defines a function to be called when a full press-drag-release gesture progresses within this `Scene`.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Node.`onMouseDragReleasedProperty()`
  Defines a function to be called when a full press-drag-release gesture ends (by releasing mouse button) within this `Node`.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Scene.`onMouseDragReleasedProperty()`
  Defines a function to be called when a full press-drag-release gesture ends within this `Scene`.
  Method parameters in javafx.scene with type arguments of type MouseDragEvent
  Modifier and Type
  Method
  Description
  `final void`
  Node.`setOnMouseDragDone(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragDone` property.
  `final void`
  Scene.`setOnMouseDragDone(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragDone` property.
  `final void`
  Node.`setOnMouseDragEntered(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragEntered` property.
  `final void`
  Scene.`setOnMouseDragEntered(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragEntered` property.
  `final void`
  Node.`setOnMouseDragExited(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragExited` property.
  `final void`
  Scene.`setOnMouseDragExited(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragExited` property.
  `final void`
  Node.`setOnMouseDragOver(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragOver` property.
  `final void`
  Scene.`setOnMouseDragOver(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragOver` property.
  `final void`
  Node.`setOnMouseDragReleased(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragReleased` property.
  `final void`
  Scene.`setOnMouseDragReleased(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragReleased` property.

- ## Uses of MouseDragEvent in javafx.scene.input

  Fields in javafx.scene.input with type parameters of type MouseDragEvent
  Modifier and Type
  Field
  Description
  `static final EventType<MouseDragEvent>`
  MouseDragEvent.`ANY`
  Common supertype for all mouse event types.
  `static final EventType<MouseDragEvent>`
  MouseDragEvent.`MOUSE_DRAG_DONE`
  This event occurs when the gesture ends.
  `static final EventType<MouseDragEvent>`
  MouseDragEvent.`MOUSE_DRAG_ENTERED`
  This event occurs when the gesture enters a node.
  `static final EventType<MouseDragEvent>`
  MouseDragEvent.`MOUSE_DRAG_ENTERED_TARGET`
  This event occurs when the gesture enters a node.
  `static final EventType<MouseDragEvent>`
  MouseDragEvent.`MOUSE_DRAG_EXITED`
  This event occurs when the gesture exits a node.
  `static final EventType<MouseDragEvent>`
  MouseDragEvent.`MOUSE_DRAG_EXITED_TARGET`
  This event occurs when the gesture exits a node.
  `static final EventType<MouseDragEvent>`
  MouseDragEvent.`MOUSE_DRAG_OVER`
  This event occurs when the gesture progresses within a node.
  `static final EventType<MouseDragEvent>`
  MouseDragEvent.`MOUSE_DRAG_RELEASED`
  This event occurs when the gesture is released over a node (by releasing the mouse button).
  Methods in javafx.scene.input that return MouseDragEvent
  Modifier and Type
  Method
  Description
  `MouseDragEvent`
  MouseDragEvent.`copyFor(Object newSource, EventTarget newTarget)`
  `MouseDragEvent`
  MouseDragEvent.`copyFor(Object newSource, EventTarget newTarget, EventType<? extends MouseEvent> type)`
  `static MouseDragEvent`
  MouseEvent.`copyForMouseDragEvent(MouseEvent e, Object source, EventTarget target, EventType<MouseDragEvent> type, Object gestureSource, PickResult pickResult)`
  Creates a copy of this mouse event of MouseDragEvent type
  Methods in javafx.scene.input that return types with arguments of type MouseDragEvent
  Modifier and Type
  Method
  Description
  `EventType<MouseDragEvent>`
  MouseDragEvent.`getEventType()`
  Method parameters in javafx.scene.input with type arguments of type MouseDragEvent
  Modifier and Type
  Method
  Description
  `static MouseDragEvent`
  MouseEvent.`copyForMouseDragEvent(MouseEvent e, Object source, EventTarget target, EventType<MouseDragEvent> type, Object gestureSource, PickResult pickResult)`
  Creates a copy of this mouse event of MouseDragEvent type
  Constructor parameters in javafx.scene.input with type arguments of type MouseDragEvent
  Modifier
  Constructor
  Description
  ``
  `MouseDragEvent(Object source, EventTarget target, EventType<MouseDragEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean backButtonDown, boolean forwardButtonDown, boolean synthesized, boolean popupTrigger, PickResult pickResult, Object gestureSource)`
  Constructs new MouseDragEvent event.
  ``
  `MouseDragEvent(Object source, EventTarget target, EventType<MouseDragEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean synthesized, boolean popupTrigger, PickResult pickResult, Object gestureSource)`
  Constructs new MouseDragEvent event.
  ``
  `MouseDragEvent(EventType<MouseDragEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean synthesized, boolean popupTrigger, PickResult pickResult, Object gestureSource)`
  Constructs new MouseDragEvent event with null source and target.