Package | Description |
---|---|
org.scijava.util |
Modifier and Type | Class and Description |
---|---|
class |
DefaultTreeNode<T>
Default implementation of
TreeNode . |
Modifier and Type | Method and Description |
---|---|
TreeNode<?> |
TreeNode.parent()
Gets the parent of this node.
|
TreeNode<?> |
DefaultTreeNode.parent() |
Modifier and Type | Method and Description |
---|---|
List<TreeNode<?>> |
TreeNode.children()
Gets the node's children.
|
List<TreeNode<?>> |
DefaultTreeNode.children() |
Modifier and Type | Method and Description |
---|---|
void |
TreeNode.setParent(TreeNode<?> parent) |
void |
DefaultTreeNode.setParent(TreeNode<?> parent) |
Modifier and Type | Method and Description |
---|---|
default void |
TreeNode.addChildren(List<? extends TreeNode<?>> nodes)
Adds the given list of children to this node.
|
Constructor and Description |
---|
DefaultTreeNode(T data,
TreeNode<?> parent)
Creates a new tree node wrapping the given data, located in the tree
beneath the specified parent.
|
Copyright © 2015–2022 SciJava. All rights reserved.