public static class MultiSplitLayout.Split extends MultiSplitLayout.Node
Constructor and Description |
---|
Split() |
Modifier and Type | Method and Description |
---|---|
List<MultiSplitLayout.Node> |
getChildren()
Returns this Split node's children.
|
boolean |
isRowLayout()
Returns true if the this Split's children are to be
laid out in a row: all the same height, left edge
equal to the previous Node's right edge.
|
MultiSplitLayout.Node |
lastWeightedChild()
Convenience method that returns the last child whose weight
is > 0.0.
|
void |
setChildren(List<MultiSplitLayout.Node> children)
Set's the children property of this Split node.
|
void |
setRowLayout(boolean rowLayout)
Set the rowLayout property.
|
String |
toString() |
getBounds, getParent, getWeight, nextSibling, previousSibling, setBounds, setParent, setWeight
public boolean isRowLayout()
setRowLayout(boolean)
public void setRowLayout(boolean rowLayout)
rowLayout
- true for horizontal row layout, false for columnisRowLayout()
public List<MultiSplitLayout.Node> getChildren()
setChildren(java.util.List<org.jdesktop.swingx.MultiSplitLayout.Node>)
public void setChildren(List<MultiSplitLayout.Node> children)
children
- List of childrenIllegalArgumentException
- if children is nullgetChildren()
public final MultiSplitLayout.Node lastWeightedChild()
getChildren()
,
MultiSplitLayout.Node.getWeight()
Copyright © 2023. All rights reserved.