public interface Menu extends MenuElement
MENU_ELEMENT_TYPE, OPTION_ELEMENT_TYPE, SEPARATOR_ELEMENT_TYPE
Modifier and Type | Method and Description |
---|---|
List<MenuElement> |
getElements()
getElements - get ordered list of menu elements that
are members of this menu; possibly contains
options, nested menus, or separators
|
String |
getName()
getName - get name of menu
|
MenuElement |
getSelectedElement(PortalSiteRequestContext context)
getSelectedElement - return selected option or nested
menu within this menu selected by
the specified request context
|
String |
getUrl()
getUrl - get url of top level folder that defined
menu options; only available for menus
defined without multiple options, nested
menus, or separators
|
boolean |
isEmpty()
isEmpty - get empty state of list of menu elements
|
boolean |
isHidden()
isHidden - get hidden state of folder that defined
menu options; only available for menus
defined without multiple options, nested
menus, or separators
|
boolean |
isSelected(PortalSiteRequestContext context)
isSelected - return true if an option or nested
menu within this menu are selected by
the specified request context
|
getElementType, getManagedNode, getMetadata, getNode, getParentMenu, getShortTitle, getShortTitle, getSkin, getTitle, getTitle, isEditable
String getName()
String getUrl()
boolean isHidden()
boolean isSelected(PortalSiteRequestContext context)
context
- request contextList<MenuElement> getElements()
boolean isEmpty()
MenuElement getSelectedElement(PortalSiteRequestContext context)
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.