Class DockingLayoutNode.Tabs
java.lang.Object
com.dlsc.gemsfx.docking.DockingLayoutNode.Tabs
- All Implemented Interfaces:
DockingLayoutNode
- Enclosing interface:
DockingLayoutNode
Represents a tabbed container with multiple dockable items.
-
Nested Class Summary
Nested classes/interfaces inherited from interface DockingLayoutNode
DockingLayoutNode.Empty, DockingLayoutNode.Split, DockingLayoutNode.Tabs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns an immutable copy of the dockable IDs.Returns the ID of the currently selected tab.
-
Constructor Details
-
Tabs
Constructs a Tabs layout node.- Parameters:
dockableIds- list of dockable IDs in this tab container, must not be null or empty, and all elements must be non-null and non-blankselectedId- the ID of the currently selected tab, must not be null or blank, and must exist in dockableIds- Throws:
IllegalArgumentException- if dockableIds is null/empty, contains null/blank elements, or selectedId is not in dockableIdsNullPointerException- if selectedId is null
-
-
Method Details
-
getDockableIds
-
getSelectedId
Returns the ID of the currently selected tab.- Returns:
- the selected ID
-