public final class DndTabPaneFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
DndTabPaneFactory.DragSetup
Setup of the drag and drop
|
static class |
DndTabPaneFactory.DroppedData
The drop data
|
static class |
DndTabPaneFactory.DropType
The drop type
|
static class |
DndTabPaneFactory.FeedbackData
Data to create a feedback
|
static class |
DndTabPaneFactory.FeedbackType
The feedback type to use
|
Modifier and Type | Method and Description |
---|---|
static javafx.scene.layout.Pane |
createDefaultDnDPane(DndTabPaneFactory.FeedbackType feedbackType,
java.util.function.Consumer<javafx.scene.control.TabPane> setup)
Create a tab pane with a default setup for drag feedback
|
static javafx.scene.control.TabPane |
createDndTabPane(java.util.function.Consumer<DndTabPaneFactory.DragSetup> setup)
Create a tab pane and set the drag strategy
|
static java.lang.String |
getDnDContent(javafx.scene.input.DragEvent e)
Extract the content
|
static boolean |
hasDnDContent(javafx.scene.input.DragEvent e)
Extract the tab content
|
public static javafx.scene.control.TabPane createDndTabPane(java.util.function.Consumer<DndTabPaneFactory.DragSetup> setup)
setup
- the setup instance for the panepublic static javafx.scene.layout.Pane createDefaultDnDPane(DndTabPaneFactory.FeedbackType feedbackType, java.util.function.Consumer<javafx.scene.control.TabPane> setup)
feedbackType
- the feedback typesetup
- consumer to set up the tab panepublic static boolean hasDnDContent(javafx.scene.input.DragEvent e)
e
- the eventpublic static java.lang.String getDnDContent(javafx.scene.input.DragEvent e)
e
- the event