Class DockingLayout
java.lang.Object
com.dlsc.gemsfx.docking.DockingLayout
Immutable data transfer object representing a complete docking layout snapshot.
A DockingLayout captures the current structure of all docking panes and floating windows
in the application.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classImmutable value object representing the layout and bounds of a single docking pane.static final classImmutable value object representing the bounds and dimensions of a floating stage. -
Constructor Summary
ConstructorsConstructorDescriptionDockingLayout(String primaryPaneId, List<DockingLayout.PaneLayout> panes) Constructs a DockingLayout. -
Method Summary
Modifier and TypeMethodDescriptiongetPanes()Returns an immutable copy of the pane layouts.Returns the ID of the primary pane.
-
Constructor Details
-
DockingLayout
Constructs a DockingLayout.- Parameters:
primaryPaneId- the ID of the primary (non-floating) pane, must not be null or blankpanes- list of pane layouts, must not be null (may be empty), and must not contain null elements- Throws:
IllegalArgumentException- if primaryPaneId is null/blank or panes contains null elementsNullPointerException- if panes is null
-
-
Method Details
-
getPrimaryPaneId
-
getPanes
Returns an immutable copy of the pane layouts.- Returns:
- the list of pane layouts
-