Package org.opencms.ade.galleries
Class CmsGalleryFilteredNavTreeBuilder.NavigationNode
- java.lang.Object
-
- org.opencms.ade.galleries.CmsGalleryFilteredNavTreeBuilder.NavigationNode
-
- Enclosing class:
- CmsGalleryFilteredNavTreeBuilder
public class CmsGalleryFilteredNavTreeBuilder.NavigationNode extends java.lang.Object
A tree node representing a navigation entry.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CmsGalleryFilteredNavTreeBuilder.NavigationNode>
getChildren()
Gets the children of this node.CmsJspNavElement
getNavElement()
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
removeFromParent()
Removes the node from its parent.void
setIsLeaf(boolean isLeaf)
Marks this node as a leaf.java.lang.String
toString()
-
-
-
Method Detail
-
getChildren
public java.util.List<CmsGalleryFilteredNavTreeBuilder.NavigationNode> getChildren()
Gets the children of this node.- Returns:
- the list of child nodes
-
getNavElement
public CmsJspNavElement 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 java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-