public static class MultiSplitLayout.Split extends MultiSplitLayout.Node
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<MultiSplitLayout.Node> |
children |
private boolean |
rowLayout |
| Constructor and Description |
|---|
Split() |
| Modifier and Type | Method and Description |
|---|---|
java.util.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(java.util.List<MultiSplitLayout.Node> children)
Set's the children property of this Split node.
|
void |
setRowLayout(boolean rowLayout)
Set the rowLayout property.
|
java.lang.String |
toString() |
getBounds, getParent, getWeight, nextSibling, previousSibling, setBounds, setParent, setWeightprivate java.util.List<MultiSplitLayout.Node> children
private boolean rowLayout
public Split()
public boolean isRowLayout()
setRowLayout(boolean)public void setRowLayout(boolean rowLayout)
rowLayout - true for horizontal row layout, false for columnisRowLayout()public java.util.List<MultiSplitLayout.Node> getChildren()
setChildren(java.util.List<org.openstreetmap.josm.gui.widgets.MultiSplitLayout.Node>)public void setChildren(java.util.List<MultiSplitLayout.Node> children)
children - List of childrenjava.lang.IllegalArgumentException - if children is nullgetChildren()public final MultiSplitLayout.Node lastWeightedChild()
getChildren(),
MultiSplitLayout.Node.getWeight()public java.lang.String toString()
toString in class java.lang.Object