Class DockingLayout.PaneLayout
java.lang.Object
com.dlsc.gemsfx.docking.DockingLayout.PaneLayout
- Enclosing class:
DockingLayout
Immutable value object representing the layout and bounds of a single docking pane.
-
Constructor Summary
ConstructorsConstructorDescriptionPaneLayout(String paneId, DockingLayoutNode root, DockingLayout.StageBounds stageBounds) Constructs a PaneLayout.PaneLayout(String paneId, DockingLayoutNode root, DockingLayout.StageBounds stageBounds, List<DockingFloatingGroup> floatingGroups) Constructs a pane layout including internal floating groups, ordered back to front. -
Method Summary
Modifier and TypeMethodDescriptionReturns the internal floating groups in back-to-front stacking order.Returns the ID of this pane.getRoot()Returns the root layout node of this pane.Returns the stage bounds of this pane, or null if this is the primary pane.
-
Constructor Details
-
PaneLayout
Constructs a PaneLayout.- Parameters:
paneId- the ID of this pane, must not be null or blankroot- the root layout node, must not be nullstageBounds- the bounds of the stage (null for primary pane, non-null for floating panes)- Throws:
IllegalArgumentException- if paneId is null/blank or root is null
-
PaneLayout
public PaneLayout(String paneId, DockingLayoutNode root, DockingLayout.StageBounds stageBounds, List<DockingFloatingGroup> floatingGroups) Constructs a pane layout including internal floating groups, ordered back to front.- Parameters:
paneId- the pane IDroot- the regular split/tab layoutstageBounds- window bounds, or null for the primary panefloatingGroups- internal floating groups in stacking order
-
-
Method Details
-
getFloatingGroups
Returns the internal floating groups in back-to-front stacking order.- Returns:
- an immutable list of groups
-
getPaneId
-
getRoot
Returns the root layout node of this pane.- Returns:
- the root node
-
getStageBounds
Returns the stage bounds of this pane, or null if this is the primary pane.- Returns:
- the stage bounds, or null
-