public static interface DndTabPaneFactory.DragSetup
Modifier and Type | Method and Description |
---|---|
void |
setClipboardDataFunction(@Nullable java.util.function.Function<javafx.scene.control.Tab,java.lang.String> clipboardDataFunction)
Function to translate the tab content into clipboard content
|
void |
setDragFinishedConsumer(@Nullable java.util.function.Consumer<javafx.scene.control.Tab> dragFinishedConsumer)
Consumer called to handle the finishing of the drag process
|
void |
setDropConsumer(@Nullable java.util.function.Consumer<DndTabPaneFactory.DroppedData> dropConsumer)
Consumer called when the drop has to be handled
|
void |
setFeedbackConsumer(@Nullable java.util.function.Consumer<DndTabPaneFactory.FeedbackData> feedbackConsumer)
Consumer called to present drag feedback
|
void |
setStartFunction(@Nullable java.util.function.Function<javafx.scene.control.Tab,java.lang.Boolean> startFunction)
Function to handle the starting of the the drag
|
void setStartFunction(@Nullable java.util.function.Function<javafx.scene.control.Tab,java.lang.Boolean> startFunction)
startFunction
- the functionvoid setDragFinishedConsumer(@Nullable java.util.function.Consumer<javafx.scene.control.Tab> dragFinishedConsumer)
dragFinishedConsumer
- the consumervoid setFeedbackConsumer(@Nullable java.util.function.Consumer<DndTabPaneFactory.FeedbackData> feedbackConsumer)
feedbackConsumer
- the consumer to callvoid setDropConsumer(@Nullable java.util.function.Consumer<DndTabPaneFactory.DroppedData> dropConsumer)
dropConsumer
- the consumervoid setClipboardDataFunction(@Nullable java.util.function.Function<javafx.scene.control.Tab,java.lang.String> clipboardDataFunction)
clipboardDataFunction
- the function