|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Menu
This interface describes the portal-site menu elements constructed and returned to decorators.
Field Summary |
---|
Fields inherited from interface org.apache.jetspeed.portalsite.MenuElement |
---|
MENU_ELEMENT_TYPE, OPTION_ELEMENT_TYPE, SEPARATOR_ELEMENT_TYPE |
Method Summary | |
---|---|
List |
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 |
Methods inherited from interface org.apache.jetspeed.portalsite.MenuElement |
---|
getElementType, getMetadata, getParentMenu, getShortTitle, getShortTitle, getSkin, getTitle, getTitle |
Method Detail |
---|
String getName()
String getUrl()
boolean isHidden()
boolean isSelected(PortalSiteRequestContext context)
context
- request context
List getElements()
boolean isEmpty()
MenuElement getSelectedElement(PortalSiteRequestContext context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |