swingx
Version 2005-08-19

org.jdesktop.swingx
Class MultiSplitLayout.Leaf

java.lang.Object
  extended by org.jdesktop.swingx.MultiSplitLayout.Node
      extended by org.jdesktop.swingx.MultiSplitLayout.Leaf
Enclosing class:
MultiSplitLayout

public static class MultiSplitLayout.Leaf
extends MultiSplitLayout.Node

Models a java.awt Component child.


Constructor Summary
MultiSplitLayout.Leaf()
          Create a Leaf node.
MultiSplitLayout.Leaf(String name)
          Create a Leaf node with the specified name.
 
Method Summary
 String getName()
          Return the Leaf's name.
 void setName(String name)
          Set the value of the name property.
 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

MultiSplitLayout.Leaf

public MultiSplitLayout.Leaf()
Create a Leaf node. The default value of name is "".


MultiSplitLayout.Leaf

public MultiSplitLayout.Leaf(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:
IllegalArgumentException - if name is null
Method Detail

getName

public String getName()
Return the Leaf's name.

Returns:
the value of the name property.
See Also:
setName(java.lang.String)

setName

public void setName(String name)
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

public String toString()
Overrides:
toString in class Object

swingx
Version 2005-08-19