| org.apache.jetspeed.portalsite.Menu
All known Subclasses: org.apache.jetspeed.portalsite.impl.MenuImpl,
Menu | public interface Menu extends MenuElement(Code) | | This interface describes the portal-site menu elements
constructed and returned to decorators.
author: Randy Watler version: $Id: Menu.java 516448 2007-03-09 16:25:47Z ate $ |
getElements | List getElements()(Code) | | getElements - get ordered list of menu elements that
are members of this menu; possibly contains
options, nested menus, or separators
menu elements list |
getName | String getName()(Code) | | getName - get name of menu
menu name |
getSelectedElement | MenuElement getSelectedElement(PortalSiteRequestContext context)(Code) | | getSelectedElement - return selected option or nested
menu within this menu selected by
the specified request context
selected menu element |
getUrl | String getUrl()(Code) | | getUrl - get url of top level folder that defined
menu options; only available for menus
defined without multiple options, nested
menus, or separators
folder url |
isEmpty | boolean isEmpty()(Code) | | isEmpty - get empty state of list of menu elements
menu elements list empty state |
isHidden | boolean isHidden()(Code) | | isHidden - get hidden state of folder that defined
menu options; only available for menus
defined without multiple options, nested
menus, or separators
hidden state |
isSelected | boolean isSelected(PortalSiteRequestContext context)(Code) | | isSelected - return true if an option or nested
menu within this menu are selected by
the specified request context
Parameters: context - request context selected state |
|
|