Package org.jdesktop.swingx
Class MultiSplitLayout.Leaf
java.lang.Object
org.jdesktop.swingx.MultiSplitLayout.Node
org.jdesktop.swingx.MultiSplitLayout.Leaf
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MultiSplitLayout
Models a java.awt Component child.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jdesktop.swingx.MultiSplitLayout.Node
getBounds, getParent, getWeight, isVisible, nextSibling, previousSibling, setBounds, setParent, setVisible, 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
-