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