public class TabPaneDetacher
extends java.lang.Object
Tabs of a TabPane detachable.
TabPane in charge of control:
Tabs are going to be in charge of
control!
Tabs can then be detached simply by dragging a tab title to the desired window position.
| Constructor | Description |
|---|---|
TabPaneDetacher() |
| Modifier and Type | Method | Description |
|---|---|---|
TabPaneDetacher |
alwaysOnTop(boolean onTop) |
Sets whether detached Tabs should be always on top.
|
javafx.beans.property.BooleanProperty |
alwaysOnTopProperty() |
|
javafx.collections.ObservableList<javafx.stage.Stage> |
getCreatedStages() |
|
java.lang.Boolean |
isAlwaysOnTop() |
|
TabPaneDetacher |
makeTabsDetachable(javafx.scene.control.TabPane pane) |
Make all added
Tabs of the given TabPane detachable. |
void |
openTabInStage(javafx.scene.control.Tab tab) |
Opens the content of the given
Tab in a separate Stage. |
TabPaneDetacher |
stylesheets(java.lang.String... stylesheet) |
Sets the stylesheets that should be assigend to the new created
Stage. |
public javafx.beans.property.BooleanProperty alwaysOnTopProperty()
public java.lang.Boolean isAlwaysOnTop()
public TabPaneDetacher alwaysOnTop(boolean onTop)
onTop - The state to be set.public TabPaneDetacher stylesheets(java.lang.String... stylesheet)
Stage.stylesheet - The stylesheets to be set.public TabPaneDetacher makeTabsDetachable(javafx.scene.control.TabPane pane)
Tabs of the given TabPane detachable.pane - The TabPane to take over.public void openTabInStage(javafx.scene.control.Tab tab)
Tab in a separate Stage. While
the content is removed from the Tab it is
added to the root of a new Stage. The Window title is set to
the name of the Tab;tab - The Tab to get the content from.public javafx.collections.ObservableList<javafx.stage.Stage> getCreatedStages()