Save This Page
Home » dom4j-1.6.1 » org.dom4j.swing » [javadoc | source]
org.dom4j.swing
public class: BranchTreeNode [javadoc | source]
java.lang.Object
   org.dom4j.swing.LeafTreeNode
      org.dom4j.swing.BranchTreeNode

All Implemented Interfaces:
    TreeNode

BranchTreeNode implements the Swing TreeNode interface to bind dom4j XML Branch nodes (i.e. Document and Element nodes) to a Swing TreeModel.

Field Summary
protected  List children    Stores the child tree nodes 
Fields inherited from org.dom4j.swing.LeafTreeNode:
EMPTY_ENUMERATION,  xmlNode
Constructor:
 public BranchTreeNode() 
 public BranchTreeNode(Branch xmlNode) 
 public BranchTreeNode(TreeNode parent,
    Branch xmlNode) 
Method from org.dom4j.swing.BranchTreeNode Summary:
children,   createChildList,   createChildTreeNode,   getAllowsChildren,   getChildAt,   getChildCount,   getChildList,   getIndex,   getXmlBranch,   isLeaf,   toString
Methods from org.dom4j.swing.LeafTreeNode:
children,   getAllowsChildren,   getChildAt,   getChildCount,   getIndex,   getParent,   getXmlNode,   isLeaf,   setParent,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.dom4j.swing.BranchTreeNode Detail:
 public Enumeration children() 
 protected List createChildList() 
    Factory method to create List of children TreeNodes
 protected TreeNode createChildTreeNode(Node xmlNode) 
    Factory method to create child tree nodes for a given XML node type
 public boolean getAllowsChildren() 
 public TreeNode getChildAt(int childIndex) 
 public int getChildCount() 
 protected List getChildList() 
    Uses Lazy Initialization pattern to create a List of children
 public int getIndex(TreeNode node) 
 protected Branch getXmlBranch() 
 public boolean isLeaf() 
 public String toString()