Package org.opencms.ade.galleries
Class CmsGalleryFilteredNavTreeBuilder.NavigationNode
java.lang.Object
org.opencms.ade.galleries.CmsGalleryFilteredNavTreeBuilder.NavigationNode
- Enclosing class:
- CmsGalleryFilteredNavTreeBuilder
A tree node representing a navigation entry.
-
Method Summary
Modifier and TypeMethodDescriptionGets the children of this node.Gets the navigation element for this node.boolean
isLeaf()
Returns true if this is a leaf in the original unfiltered navigation tree.boolean
isMatch()
Returns true if this node has previously matched the filter string.void
Removes the node from its parent.void
setIsLeaf
(boolean isLeaf) Marks this node as a leaf.toString()
-
Method Details
-
getChildren
Gets the children of this node.- Returns:
- the list of child nodes
-
isLeaf
Returns true if this is a leaf in the original unfiltered navigation tree.- Returns:
- true if this is a leaf
-
isMatch
Returns true if this node has previously matched the filter string.- Returns:
- true if this has matched the filter string
-
removeFromParent
Removes the node from its parent. -
setIsLeaf
Marks this node as a leaf.- Parameters:
isLeaf
- true if this should be marked as a leaf
-
toString
-