Class CmsGalleryFilteredNavTreeBuilder.NavigationNode

    • Method Detail

      • 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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()