Class LeafTreeNode
java.lang.Object
org.dom4j.swing.LeafTreeNode
- All Implemented Interfaces:
TreeNode
- Direct Known Subclasses:
BranchTreeNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Enumeration<? extends TreeNode> private TreeNodeThe parent node of this TreeNodeprotected NodeThe dom4j Node which contains the -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEnumeration<? extends TreeNode> children()booleangetChildAt(int childIndex) intintbooleanisLeaf()voidsetParent(LeafTreeNode parent) Sets the parent of this node but doesn't change the parents childrentoString()
-
Field Details
-
EMPTY_ENUMERATION
-
parent
The parent node of this TreeNode -
xmlNode
The dom4j Node which contains the
-
-
Constructor Details
-
LeafTreeNode
public LeafTreeNode() -
LeafTreeNode
-
LeafTreeNode
-
-
Method Details
-
children
-
getAllowsChildren
public boolean getAllowsChildren()- Specified by:
getAllowsChildrenin interfaceTreeNode
-
getChildAt
- Specified by:
getChildAtin interfaceTreeNode
-
getChildCount
public int getChildCount()- Specified by:
getChildCountin interfaceTreeNode
-
getIndex
-
getParent
-
isLeaf
-
toString
-
setParent
Sets the parent of this node but doesn't change the parents children- Parameters:
parent- DOCUMENT ME!
-
getXmlNode
-