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 |
---|---|
Dragboard |
Node.startDragAndDrop(TransferMode... transferModes)
Confirms a potential drag and drop gesture that is recognized over this
Node . |
Dragboard |
Scene.startDragAndDrop(TransferMode... transferModes)
Confirms a potential drag and drop gesture that is recognized over this
Scene . |
Modifier and Type | Method and Description |
---|---|
Dragboard |
DragEvent.getDragboard()
A dragboard that is available to transfer data.
|
static Dragboard |
Dragboard.impl_createDragboard(com.sun.javafx.tk.TKClipboard peer)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Constructor and Description |
---|
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.
|
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.
|
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.