Class CmsGalleryFilteredNavTreeBuilder.NavigationNode

java.lang.Object
org.opencms.ade.galleries.CmsGalleryFilteredNavTreeBuilder.NavigationNode
Enclosing class:
CmsGalleryFilteredNavTreeBuilder

A tree node representing a navigation entry.

  • Method Details

    • getChildren

      Gets the children of this node.

      Returns:
      the list of child nodes
    • getNavElement

      Gets the navigation element for this node.

      Returns:
      the navigation element
    • isLeaf

      public boolean isLeaf()
      Returns true if this is a leaf in the original unfiltered navigation tree.

      Returns:
      true if this is a leaf
    • isMatch

      public boolean isMatch()
      Returns true if this node has previously matched the filter string.

      Returns:
      true if this has matched the filter string
    • removeFromParent

      public void removeFromParent()
      Removes the node from its parent.

    • setIsLeaf

      public void setIsLeaf(boolean isLeaf)
      Marks this node as a leaf.

      Parameters:
      isLeaf - true if this should be marked as a leaf
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: