Package | Description |
---|---|
com.toolsverse.util |
Modifier and Type | Method and Description |
---|---|
abstract TreeNode |
TreeNode.createNode(TreeNode node)
Creates the node from the specified node
|
TreeNode |
TreeNode.getNode(int index)
Gets the child TreeNode located at the index.
|
TreeNode |
TreeNode.getParent()
Gets the parent TreeNode if any.
|
TreeNode |
TreeNode.getRoot()
Gets the root node of the tree.
|
Modifier and Type | Method and Description |
---|---|
List<TreeNode> |
TreeNode.getChildren()
Gets the list of the children nodes.
|
Modifier and Type | Method and Description |
---|---|
int |
TreeNode.addNode(TreeNode node)
Adds the child node to the end of the list
|
abstract TreeNode |
TreeNode.createNode(TreeNode node)
Creates the node from the specified node
|
int |
TreeNode.insertNode(TreeNode node,
int index)
Inserts child node at the specified index.
|
void |
TreeNode.setCurrentNode(TreeNode treeNode)
Sets the current node for the tree.
|
void |
TreeNode.setNode(TreeNode node)
Replaces this node with a new node.
|
void |
TreeNode.setParent(TreeNode value)
Sets the parent node for this node.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeNode.setChildren(List<TreeNode> value)
Sets the list of the children to this node.
|
Copyright © 2010-2020 Toolsverse. All Rights Reserved.