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
ConstructorsConstructorDescriptionCategoryMenuInfo(Category category, Category[] ctxCategories, boolean navigatePortlet, int maxDepthLevel, int depthLevel, MenuInfo parent, MenuInfoFilter menuInfoFilter, String lang, Member member, javax.servlet.http.HttpServletRequest request) CategoryMenuInfo(CategoryMenuInfo menuInfo) -
Method Summary
Modifier and TypeMethodDescriptionintgetIcon()getId()Returns id of the current nodegetLabel()getLink()intgetNode()Collection<? extends TreeNode> Returns a Collection of TreeNode children of the current nodeReturns parent of the current nodeReturns the root of the current nodebooleanisActive()booleanReturns boolean true if the TreeNode is a leafbooleanReturns boolean true if the TreeNode is a node
-
Constructor Details
-
Method Details
-
getId
Description copied from interface:TreeNodeReturns id of the current node -
getNode
-
getTreeRoot
Description copied from interface:TreeNodeReturns the root of the current node- Specified by:
getTreeRootin interfaceTreeNode- Returns:
- TreeNode root Node
-
getTreeParent
Description copied from interface:TreeNodeReturns parent of the current node- Specified by:
getTreeParentin interfaceTreeNode- Returns:
- TreeNode parent Node
-
getChildren
- Specified by:
getChildrenin interfaceMenuInfo
-
getTreeChildren
Description copied from interface:TreeNodeReturns a Collection of TreeNode children of the current node- Specified by:
getTreeChildrenin interfaceTreeNode- Returns:
- Collection of TreeNode
-
getParent
-
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
-
getLabel
-
getMaxDepthLevel
public int getMaxDepthLevel()- Specified by:
getMaxDepthLevelin interfaceMenuInfo
-
getDepthLevel
public int getDepthLevel()- Specified by:
getDepthLevelin interfaceMenuInfo
-
getLink
-
getIcon
-
isActive
public boolean isActive() -
getHtmlAttributes
- Specified by:
getHtmlAttributesin interfaceMenuInfo
-