java.lang.Object
org.jdesktop.swingx.MultiSplitLayout.Node
org.jdesktop.swingx.MultiSplitLayout.Leaf
- Enclosing class:
MultiSplitLayout
Models a java.awt Component child.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jdesktop.swingx.MultiSplitLayout.Node
getBounds, getParent, getWeight, nextSibling, previousSibling, setBounds, setParent, setWeight
-
Constructor Details
-
Leaf
public Leaf()Create a Leaf node. The default value of name is "". -
Leaf
Create a Leaf node with the specified name. Name can not be null.- Parameters:
name
- value of the Leaf's name property- Throws:
IllegalArgumentException
- if name is null
-
-
Method Details
-
getName
Return the Leaf's name.- Returns:
- the value of the name property.
- See Also:
-
setName
Set the value of the name property. Name may not be null.- Parameters:
name
- value of the name property- Throws:
IllegalArgumentException
- if name is null
-
toString
-