Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
MENU_INFO_ATTR
Constructor and 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) |
Modifier and Type | Method and 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 node
|
java.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 node
|
TreeNode |
getTreeParent()
Returns parent of the current node
|
TreeNode |
getTreeRoot()
Returns the root of the current node
|
boolean |
isActive() |
boolean |
isTreeLeaf()
Returns boolean true if the TreeNode is a leaf
|
boolean |
isTreeNode()
Returns boolean true if the TreeNode is a node
|
public static final java.lang.String REVISION
public CategoryMenuInfo(CategoryMenuInfo menuInfo)
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)
public java.lang.String getId()
TreeNode
public TreeNode getTreeRoot()
TreeNode
getTreeRoot
in interface TreeNode
public TreeNode getTreeParent()
TreeNode
getTreeParent
in interface TreeNode
public java.util.Collection<MenuInfo> getChildren()
getChildren
in interface MenuInfo
public java.util.Collection<? extends TreeNode> getTreeChildren()
TreeNode
getTreeChildren
in interface TreeNode
public boolean isTreeNode()
TreeNode
isTreeNode
in interface TreeNode
public boolean isTreeLeaf()
TreeNode
isTreeLeaf
in interface TreeNode
public int getMaxDepthLevel()
getMaxDepthLevel
in interface MenuInfo
public int getDepthLevel()
getDepthLevel
in interface MenuInfo
public java.lang.String getHtmlAttributes()
getHtmlAttributes
in interface MenuInfo
Copyright © 2001-2017 Jalios SA. All Rights Reserved.