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

All Implemented Interfaces:
    TreeNode

Direct Known Subclasses:
    BranchTreeNode

LeafTreeNode implements the Swing TreeNode interface to bind a leaf XML nodes to a Swing TreeModel.

Field Summary
protected static final  Enumeration EMPTY_ENUMERATION     
protected  Node xmlNode    The dom4j Node which contains the 
Constructor:
 public LeafTreeNode() 
 public LeafTreeNode(Node xmlNode) 
 public LeafTreeNode(TreeNode parent,
    Node xmlNode) 
Method from org.dom4j.swing.LeafTreeNode Summary:
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.LeafTreeNode Detail:
 public Enumeration children() 
 public boolean getAllowsChildren() 
 public TreeNode getChildAt(int childIndex) 
 public int getChildCount() 
 public int getIndex(TreeNode node) 
 public TreeNode getParent() 
 public Node getXmlNode() 
 public boolean isLeaf() 
 public  void setParent(LeafTreeNode parent) 
    Sets the parent of this node but doesn't change the parents children
 public String toString()