org.dom4j.swing
public class LeafTreeNode extends Object implements TreeNode
LeafTreeNode implements the Swing TreeNode interface to bind a
leaf XML nodes to a Swing TreeModel.
Version: $Revision: 1.7 $
| Field Summary | |
|---|---|
| protected static Enumeration | EMPTY_ENUMERATION |
| protected Node | xmlNode The dom4j Node which contains the |
| Constructor Summary | |
|---|---|
| LeafTreeNode() | |
| LeafTreeNode(Node xmlNode) | |
| LeafTreeNode(TreeNode parent, Node xmlNode) | |
| Method Summary | |
|---|---|
| Enumeration | children() |
| boolean | getAllowsChildren() |
| TreeNode | getChildAt(int childIndex) |
| int | getChildCount() |
| int | getIndex(TreeNode node) |
| TreeNode | getParent() |
| Node | getXmlNode() |
| boolean | isLeaf() |
| void | setParent(LeafTreeNode parent)
Sets the parent of this node but doesn't change the parents children
|
| String | toString() |
Parameters: parent DOCUMENT ME!