Uses of Class
javafx.scene.input.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 EventHandler<? super MouseDragEvent>
Node. getOnMouseDragEntered()
Gets the value of the property onMouseDragEntered.EventHandler<? super MouseDragEvent>
Scene. getOnMouseDragEntered()
Gets the value of the property onMouseDragEntered.EventHandler<? super MouseDragEvent>
Node. getOnMouseDragExited()
Gets the value of the property onMouseDragExited.EventHandler<? super MouseDragEvent>
Scene. getOnMouseDragExited()
Gets the value of the property onMouseDragExited.EventHandler<? super MouseDragEvent>
Node. getOnMouseDragOver()
Gets the value of the property onMouseDragOver.EventHandler<? super MouseDragEvent>
Scene. getOnMouseDragOver()
Gets the value of the property onMouseDragOver.EventHandler<? super MouseDragEvent>
Node. getOnMouseDragReleased()
Gets the value of the property onMouseDragReleased.EventHandler<? super MouseDragEvent>
Scene. getOnMouseDragReleased()
Gets the value of the property onMouseDragReleased.ObjectProperty<EventHandler<? super MouseDragEvent>>
Node. onMouseDragEnteredProperty()
Defines a function to be called when a full press-drag-release gesture enters thisNode
.ObjectProperty<EventHandler<? super MouseDragEvent>>
Scene. onMouseDragEnteredProperty()
Defines a function to be called when a full press-drag-release gesture enters thisScene
.ObjectProperty<EventHandler<? super MouseDragEvent>>
Node. onMouseDragExitedProperty()
Defines a function to be called when a full press-drag-release gesture leaves thisNode
.ObjectProperty<EventHandler<? super MouseDragEvent>>
Scene. onMouseDragExitedProperty()
Defines a function to be called when a full press-drag-release gesture exits thisScene
.ObjectProperty<EventHandler<? super MouseDragEvent>>
Node. onMouseDragOverProperty()
Defines a function to be called when a full press-drag-release gesture progresses within thisNode
.ObjectProperty<EventHandler<? super MouseDragEvent>>
Scene. onMouseDragOverProperty()
Defines a function to be called when a full press-drag-release gesture progresses within thisScene
.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 thisNode
.ObjectProperty<EventHandler<? super MouseDragEvent>>
Scene. onMouseDragReleasedProperty()
Defines a function to be called when a full press-drag-release gesture ends within thisScene
.Method parameters in javafx.scene with type arguments of type MouseDragEvent Modifier and Type Method Description void
Node. setOnMouseDragEntered(EventHandler<? super MouseDragEvent> value)
Sets the value of the property onMouseDragEntered.void
Scene. setOnMouseDragEntered(EventHandler<? super MouseDragEvent> value)
Sets the value of the property onMouseDragEntered.void
Node. setOnMouseDragExited(EventHandler<? super MouseDragEvent> value)
Sets the value of the property onMouseDragExited.void
Scene. setOnMouseDragExited(EventHandler<? super MouseDragEvent> value)
Sets the value of the property onMouseDragExited.void
Node. setOnMouseDragOver(EventHandler<? super MouseDragEvent> value)
Sets the value of the property onMouseDragOver.void
Scene. setOnMouseDragOver(EventHandler<? super MouseDragEvent> value)
Sets the value of the property onMouseDragOver.void
Node. setOnMouseDragReleased(EventHandler<? super MouseDragEvent> value)
Sets the value of the property onMouseDragReleased.void
Scene. setOnMouseDragReleased(EventHandler<? super MouseDragEvent> value)
Sets the value of the property onMouseDragReleased. -
Uses of MouseDragEvent in javafx.scene.input
Fields in javafx.scene.input with type parameters of type MouseDragEvent Modifier and Type Field Description static EventType<MouseDragEvent>
MouseDragEvent. ANY
Common supertype for all mouse event types.static EventType<MouseDragEvent>
MouseDragEvent. MOUSE_DRAG_ENTERED
This event occurs when the gesture enters a node.static EventType<MouseDragEvent>
MouseDragEvent. MOUSE_DRAG_ENTERED_TARGET
This event occurs when the gesture enters a node.static EventType<MouseDragEvent>
MouseDragEvent. MOUSE_DRAG_EXITED
This event occurs when the gesture exits a node.static EventType<MouseDragEvent>
MouseDragEvent. MOUSE_DRAG_EXITED_TARGET
This event occurs when the gesture exits a node.static EventType<MouseDragEvent>
MouseDragEvent. MOUSE_DRAG_OVER
This event occurs when the gesture progresses within this node.static EventType<MouseDragEvent>
MouseDragEvent. MOUSE_DRAG_RELEASED
This event occurs when the gesture ends (by releasing mouse button) on this node.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 typeMethods 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 typeConstructor parameters in javafx.scene.input with type arguments of type MouseDragEvent 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.