Package org.teamapps.ux.component.node
Interface TreeNode
-
- All Superinterfaces:
TreeNodeInfo
- All Known Implementing Classes:
BaseTemplateTreeNode
public interface TreeNode extends TreeNodeInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default intgetDepth()TreeNodegetParent()default java.util.List<TreeNode>getPath()static java.util.List<TreeNode>getPathToNode(TreeNode node)default booleanisDescendantOf(java.util.Collection<? extends TreeNode> potentialAncestors)default booleanisDescendantOf(TreeNode potentialAncestor)-
Methods inherited from interface org.teamapps.ux.component.tree.TreeNodeInfo
isExpanded, isLazyChildren, isSelectable
-
-
-
-
Method Detail
-
getParent
TreeNode getParent()
- Specified by:
getParentin interfaceTreeNodeInfo
-
getDepth
default int getDepth()
-
getPath
default java.util.List<TreeNode> getPath()
-
isDescendantOf
default boolean isDescendantOf(TreeNode potentialAncestor)
-
isDescendantOf
default boolean isDescendantOf(java.util.Collection<? extends TreeNode> potentialAncestors)
-
-