|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jdesktop.swingx.MultiSplitLayout.Node org.jdesktop.swingx.MultiSplitLayout.Split
public static class MultiSplitLayout.Split
Defines a vertical or horizontal subdivision into two or more tiles.
Constructor Summary | |
---|---|
MultiSplitLayout.Split()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class org.jdesktop.swingx.MultiSplitLayout.Node |
---|
getBounds, getParent, getWeight, nextSibling, previousSibling, setBounds, setParent, setWeight |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MultiSplitLayout.Split()
Method Detail |
---|
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)
public void setChildren(java.util.List<MultiSplitLayout.Node> children)
children
- List of children
java.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |