Package org.jdesktop.swingx
Class MultiSplitLayout.Leaf
- java.lang.Object
-
- org.jdesktop.swingx.MultiSplitLayout.Node
-
- org.jdesktop.swingx.MultiSplitLayout.Leaf
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- MultiSplitLayout
public static class MultiSplitLayout.Leaf extends MultiSplitLayout.Node
Models a java.awt Component child.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
name
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Return the Leaf's name.void
setName(java.lang.String name)
Set the value of the name property.java.lang.String
toString()
-
Methods inherited from class org.jdesktop.swingx.MultiSplitLayout.Node
getBounds, getParent, getWeight, isVisible, nextSibling, previousSibling, setBounds, setParent, setVisible, setWeight
-
-
-
-
Constructor Detail
-
Leaf
public Leaf()
Create a Leaf node. The default value of name is "".
-
Leaf
public Leaf(java.lang.String name)
Create a Leaf node with the specified name. Name can not be null.- Parameters:
name
- value of the Leaf's name property- Throws:
java.lang.IllegalArgumentException
- if name is null
-
-
Method Detail
-
getName
public java.lang.String getName()
Return the Leaf's name.- Returns:
- the value of the name property.
- See Also:
setName(java.lang.String)
-
setName
public void setName(java.lang.String name)
Set the value of the name property. Name may not be null.- Parameters:
name
- value of the name property- Throws:
java.lang.IllegalArgumentException
- if name is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-