Interface NavigationNodeTreeService
- All Known Implementing Classes:
DefaultNavigationNodeTreeService
public interface NavigationNodeTreeService
Used by
TreeModel for building tree structure-
Method Summary
Modifier and TypeMethodDescriptiongetChild(TypedObject node, int index) Find a child node of a given node at a given positionintgetChildCount(TypedObject node) Find number of child nodes for a given nodeFind all root nodes for a given catalog versionbooleanisLeaf(TypedObject node) Determine whether a node is a leaf node or not.
-
Method Details
-
getChild
Find a child node of a given node at a given position- Parameters:
node- parent nodeindex- node position- Returns:
- child node of given node at given (index) position
-
getChildCount
Find number of child nodes for a given node- Parameters:
node- parent node with children nodes- Returns:
- quantity of children
-
isLeaf
Determine whether a node is a leaf node or not.- Parameters:
node-- Returns:
- true if has no children, or is leaf by other means
-