Package com.jalios.jcms.portlet.navigate
Class CategoryMenuInfo
- java.lang.Object
-
- com.jalios.jcms.portlet.navigate.CategoryMenuInfo
-
-
Field Summary
-
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()intgetDepthLevel()java.lang.StringgetHtmlAttributes()java.lang.StringgetIcon()java.lang.StringgetId()Returns id of the current nodejava.lang.StringgetLabel()java.lang.StringgetLink()intgetMaxDepthLevel()CategorygetNode()MenuInfogetParent()java.util.Collection<? extends TreeNode>getTreeChildren()Returns a Collection of TreeNode children of the current nodeTreeNodegetTreeParent()Returns parent of the current nodeTreeNodegetTreeRoot()Returns the root of the current nodebooleanisActive()booleanisTreeLeaf()Returns boolean true if the TreeNode is a leafbooleanisTreeNode()Returns boolean true if the TreeNode is a node
-
-
-
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:TreeNodeReturns id of the current node
-
getTreeRoot
public TreeNode getTreeRoot()
Description copied from interface:TreeNodeReturns the root of the current node- Specified by:
getTreeRootin interfaceTreeNode- Returns:
- TreeNode root Node
-
getTreeParent
public TreeNode getTreeParent()
Description copied from interface:TreeNodeReturns parent of the current node- Specified by:
getTreeParentin interfaceTreeNode- Returns:
- TreeNode parent Node
-
getChildren
public java.util.Collection<MenuInfo> getChildren()
- Specified by:
getChildrenin interfaceMenuInfo
-
getTreeChildren
public java.util.Collection<? extends TreeNode> getTreeChildren()
Description copied from interface:TreeNodeReturns a Collection of TreeNode children of the current node- Specified by:
getTreeChildrenin interfaceTreeNode- Returns:
- Collection of TreeNode
-
isTreeNode
public boolean isTreeNode()
Description copied from interface:TreeNodeReturns boolean true if the TreeNode is a node- Specified by:
isTreeNodein interfaceTreeNode- Returns:
- boolean indicating if node is leaf or node
-
isTreeLeaf
public boolean isTreeLeaf()
Description copied from interface:TreeNodeReturns boolean true if the TreeNode is a leaf- Specified by:
isTreeLeafin interfaceTreeNode- Returns:
- boolean indicating if node is leaf or node
-
getMaxDepthLevel
public int getMaxDepthLevel()
- Specified by:
getMaxDepthLevelin interfaceMenuInfo
-
getDepthLevel
public int getDepthLevel()
- Specified by:
getDepthLevelin interfaceMenuInfo
-
getHtmlAttributes
public java.lang.String getHtmlAttributes()
- Specified by:
getHtmlAttributesin interfaceMenuInfo
-
-