Class MultiSplitLayout.Leaf

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

public static class MultiSplitLayout.Leaf extends MultiSplitLayout.Node
Models a java.awt Component child.
  • Constructor Details

    • Leaf

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

      public 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 Details

    • getName

      public String getName()
      Return the Leaf's name.
      Returns:
      the value of the name property.
      See Also:
    • 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