LeafTreeNode implements the Swing TreeNode interface to bind a
leaf XML nodes to a Swing TreeModel.
| Modifier and Type | Field and Description |
|---|---|
| protected static final Enumeration | |
| private TreeNode | parent
The parent node of this TreeNode |
| protected Node | xmlNode
The dom4j Node which contains the |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Enumeration | children()
Implements javax. Enumeration.
|
| public boolean | getAllowsChildren()
Implements javax. |
| public TreeNode | getChildAt(int
index of child childIndex)Implements javax. TreeNode at index
childIndex.
|
| public int | getChildCount()
Implements javax. TreeNodes the receiver
contains.
|
| public int | getIndex(TreeNode
node to be loked for node)Implements javax. node in the receivers children.
|
| public TreeNode | getParent()
Implements javax. TreeNode of the receiver.
|
| public Node | |
| public boolean | |
| public void | setParent(LeafTreeNode
DOCUMENT ME! parent)Sets the parent of this node but doesn't change the parents children |
| public String |
| EMPTY_ENUMERATION | back to summary |
|---|---|
| protected static final Enumeration<? extends TreeNode> EMPTY_ENUMERATION | |
| parent | back to summary |
|---|---|
| private TreeNode parent The parent node of this TreeNode | |
| xmlNode | back to summary |
|---|---|
| protected Node xmlNode The dom4j Node which contains the | |
| LeafTreeNode | back to summary |
|---|---|
| public LeafTreeNode() | |
| LeafTreeNode | back to summary |
|---|---|
| public LeafTreeNode(Node xmlNode) | |
| LeafTreeNode | back to summary |
|---|---|
| public LeafTreeNode(TreeNode parent, Node xmlNode) | |
| children | back to summary |
|---|---|
| public Enumeration Implements javax. Doc from javax. Returns the children of the receiver as an
| |
| getAllowsChildren | back to summary |
|---|---|
| public boolean getAllowsChildren() Implements javax. Doc from javax. Returns true if the receiver allows children.
| |
| getChildAt | back to summary |
|---|---|
| public TreeNode getChildAt(int childIndex) Implements javax. Doc from javax. Returns the child
| |
| getChildCount | back to summary |
|---|---|
| public int getChildCount() Implements javax. Doc from javax. Returns the number of children
| |
| getIndex | back to summary |
|---|---|
| public int getIndex(TreeNode node) Implements javax. Doc from javax. Returns the index of
| |
| getParent | back to summary |
|---|---|
| public TreeNode getParent() Implements javax. Doc from javax. Returns the parent
| |
| getXmlNode | back to summary |
|---|---|
| public Node getXmlNode() | |
| isLeaf | back to summary |
|---|---|
| public boolean isLeaf() Implements javax. Doc from javax. Returns true if the receiver is a leaf.
| |
| setParent | back to summary |
|---|---|
| public void setParent(LeafTreeNode parent) Sets the parent of this node but doesn't change the parents children
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |