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.
|
Modifier and Type | Method and 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 this
Node . |
ObjectProperty<EventHandler<? super MouseDragEvent>> |
Scene.onMouseDragEnteredProperty()
Defines a function to be called when a full press-drag-release gesture
enters this
Scene . |
ObjectProperty<EventHandler<? super MouseDragEvent>> |
Node.onMouseDragExitedProperty()
Defines a function to be called when a full press-drag-release gesture
leaves this
Node . |
ObjectProperty<EventHandler<? super MouseDragEvent>> |
Scene.onMouseDragExitedProperty()
Defines a function to be called when a full press-drag-release gesture
exits this
Scene . |
ObjectProperty<EventHandler<? super MouseDragEvent>> |
Node.onMouseDragOverProperty()
Defines a function to be called when a full press-drag-release gesture
progresses within this
Node . |
ObjectProperty<EventHandler<? super MouseDragEvent>> |
Scene.onMouseDragOverProperty()
Defines a function to be called when a full press-drag-release gesture
progresses within this
Scene . |
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 . |
ObjectProperty<EventHandler<? super MouseDragEvent>> |
Scene.onMouseDragReleasedProperty()
Defines a function to be called when a full press-drag-release gesture
ends within this
Scene . |
Modifier and Type | Method and 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.
|
Modifier and Type | Field and 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.
|
Modifier and Type | Method and 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
|
Modifier and Type | Method and Description |
---|---|
EventType<MouseDragEvent> |
MouseDragEvent.getEventType() |
Modifier and Type | Method and 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 and Description |
---|
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.
|
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.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.