Package com.jalios.jcms.portlet.navigate
Class CategoryMenuInfo
- java.lang.Object
-
- com.jalios.jcms.portlet.navigate.CategoryMenuInfo
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
REVISION
-
Fields inherited from interface com.jalios.jcms.taglib.menu.MenuInfo
MENU_INFO_ATTR
-
-
Constructor Summary
Constructors Constructor Description CategoryMenuInfo(Category category, Category[] ctxCategories, boolean navigatePortlet, int maxDepthLevel, int depthLevel, MenuInfo parent, MenuInfoFilter menuInfoFilter, java.lang.String lang, Member member, javax.servlet.http.HttpServletRequest request)
CategoryMenuInfo(CategoryMenuInfo menuInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<MenuInfo>
getChildren()
int
getDepthLevel()
java.lang.String
getHtmlAttributes()
java.lang.String
getIcon()
java.lang.String
getId()
Returns id of the current nodejava.lang.String
getLabel()
java.lang.String
getLink()
int
getMaxDepthLevel()
Category
getNode()
MenuInfo
getParent()
java.util.Collection<? extends TreeNode>
getTreeChildren()
Returns a Collection of TreeNode children of the current nodeTreeNode
getTreeParent()
Returns parent of the current nodeTreeNode
getTreeRoot()
Returns the root of the current nodeboolean
isActive()
boolean
isTreeLeaf()
Returns boolean true if the TreeNode is a leafboolean
isTreeNode()
Returns boolean true if the TreeNode is a node
-
-
-
Field Detail
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CategoryMenuInfo
public CategoryMenuInfo(CategoryMenuInfo menuInfo)
-
CategoryMenuInfo
public CategoryMenuInfo(Category category, Category[] ctxCategories, boolean navigatePortlet, int maxDepthLevel, int depthLevel, MenuInfo parent, MenuInfoFilter menuInfoFilter, java.lang.String lang, Member member, javax.servlet.http.HttpServletRequest request)
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:TreeNode
Returns id of the current node
-
getTreeRoot
public TreeNode getTreeRoot()
Description copied from interface:TreeNode
Returns the root of the current node- Specified by:
getTreeRoot
in interfaceTreeNode
- Returns:
- TreeNode root Node
-
getTreeParent
public TreeNode getTreeParent()
Description copied from interface:TreeNode
Returns parent of the current node- Specified by:
getTreeParent
in interfaceTreeNode
- Returns:
- TreeNode parent Node
-
getChildren
public java.util.Collection<MenuInfo> getChildren()
- Specified by:
getChildren
in interfaceMenuInfo
-
getTreeChildren
public java.util.Collection<? extends TreeNode> getTreeChildren()
Description copied from interface:TreeNode
Returns a Collection of TreeNode children of the current node- Specified by:
getTreeChildren
in interfaceTreeNode
- Returns:
- Collection of TreeNode
-
isTreeNode
public boolean isTreeNode()
Description copied from interface:TreeNode
Returns boolean true if the TreeNode is a node- Specified by:
isTreeNode
in interfaceTreeNode
- Returns:
- boolean indicating if node is leaf or node
-
isTreeLeaf
public boolean isTreeLeaf()
Description copied from interface:TreeNode
Returns boolean true if the TreeNode is a leaf- Specified by:
isTreeLeaf
in interfaceTreeNode
- Returns:
- boolean indicating if node is leaf or node
-
getMaxDepthLevel
public int getMaxDepthLevel()
- Specified by:
getMaxDepthLevel
in interfaceMenuInfo
-
getDepthLevel
public int getDepthLevel()
- Specified by:
getDepthLevel
in interfaceMenuInfo
-
getHtmlAttributes
public java.lang.String getHtmlAttributes()
- Specified by:
getHtmlAttributes
in interfaceMenuInfo
-
-