|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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(MultiSplitLayout.Node... children)
|
Method Summary | |
---|---|
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 |
setChildren(MultiSplitLayout.Node... children)
Convenience method for setting the children of this Split node. |
void |
setRowLayout(boolean rowLayout)
Set the rowLayout property. |
String |
toString()
Returns a string representation of the object. |
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(MultiSplitLayout.Node... children)
Method Detail |
---|
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)
public void setChildren(List<MultiSplitLayout.Node> children)
children
- List of children
IllegalArgumentException
- if children is nullgetChildren()
public void setChildren(MultiSplitLayout.Node... children)
children
- array of children
IllegalArgumentException
- if children is nullgetChildren()
public final MultiSplitLayout.Node lastWeightedChild()
getChildren()
,
MultiSplitLayout.Node.getWeight()
public String toString()
java.lang.Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |