Class DockingSelectionModel
java.lang.Object
com.dlsc.gemsfx.docking.DockingSelectionModel
The selected dockable in each nonempty tab group of a docking context.
The selected-items list is observable and cannot be modified directly.
-
Method Summary
Modifier and TypeMethodDescriptionjavafx.collections.ObservableList<Dockable> Returns the selected dockables across all panes, including floating panes.booleanisSelected(Dockable dockable) Tests whether the dockable is selected in its tab group.voidSelects the dockable in its group and makes it active in its pane.
-
Method Details
-
getSelectedItems
Returns the selected dockables across all panes, including floating panes.- Returns:
- the unmodifiable observable selected-items list
-
isSelected
Tests whether the dockable is selected in its tab group.- Parameters:
dockable- the dockable- Returns:
- whether the dockable is selected
-
select
Selects the dockable in its group and makes it active in its pane. Other groups retain their selections.- Parameters:
dockable- an open dockable in this context- Throws:
IllegalArgumentException- if the dockable is not open in this contextIllegalStateException- if called off the JavaFX application thread
-