com.ibm.redback.utils.tree
Class Branch

java.lang.Object
  |
  +--com.ibm.redback.utils.tree.Leaf
        |
        +--com.ibm.redback.utils.tree.Node
              |
              +--com.ibm.redback.utils.tree.Branch

public class Branch
extends Node


Fields inherited from class com.ibm.redback.utils.tree.Node
ourBranches
 
Fields inherited from class com.ibm.redback.utils.tree.Leaf
href, icon, name, style
 
Constructor Summary
Branch()
           
Branch(java.lang.String name, java.lang.String icon)
           
Branch(java.lang.String name, java.lang.String icon, java.lang.String openIcon)
           
Branch(java.lang.String name, java.lang.String icon, java.lang.String openIcon, java.lang.String href, java.lang.String style)
           
 
Method Summary
 void addLeaf(Leaf l)
           
 int indexOf(Leaf l)
           
 void removeLeaf(int pos)
           
 void removeLeaf(Leaf l)
           
 
Methods inherited from class com.ibm.redback.utils.tree.Node
addBranch, addBranch, getBranches, getOpenIcon, getOpenStatus, indexOf, removeBranch, removeBranch, setOpenIcon, setOpenStatus
 
Methods inherited from class com.ibm.redback.utils.tree.Leaf
getHref, getIcon, getName, getStyle, setHref, setIcon, setName, setStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Branch

public Branch()

Branch

public Branch(java.lang.String name,
              java.lang.String icon,
              java.lang.String openIcon,
              java.lang.String href,
              java.lang.String style)

Branch

public Branch(java.lang.String name,
              java.lang.String icon,
              java.lang.String openIcon)

Branch

public Branch(java.lang.String name,
              java.lang.String icon)
Method Detail

addLeaf

public void addLeaf(Leaf l)

indexOf

public int indexOf(Leaf l)

removeLeaf

public void removeLeaf(Leaf l)

removeLeaf

public void removeLeaf(int pos)