public interface MenuOption extends MenuElement
Modifier and Type | Field and Description |
---|---|
static String |
FOLDER_OPTION_TYPE
FOLDER_OPTION_TYPE - type of folder menu option
|
static String |
LINK_OPTION_TYPE
LINK_OPTION_TYPE - type of link menu option
|
static String |
PAGE_OPTION_TYPE
PAGE_OPTION_TYPE - type of page menu option
|
MENU_ELEMENT_TYPE, OPTION_ELEMENT_TYPE, SEPARATOR_ELEMENT_TYPE
Modifier and Type | Method and Description |
---|---|
String |
getDefaultPage()
getDefaultPage - get target for url of menu option
|
String |
getTarget()
getTarget - get target for url of menu option
|
String |
getType()
getType - get type of menu option
|
String |
getUrl()
getUrl - get url of menu option
|
boolean |
isHidden()
isHidden - get hidden state of menu option
|
boolean |
isSelected(PortalSiteRequestContext context)
isSelected - return true if menu option is selected in
the specified request context
|
getElementType, getManagedNode, getMetadata, getNode, getParentMenu, getShortTitle, getShortTitle, getSkin, getTitle, getTitle, isEditable
static final String FOLDER_OPTION_TYPE
static final String PAGE_OPTION_TYPE
static final String LINK_OPTION_TYPE
String getType()
String getUrl()
String getTarget()
String getDefaultPage()
boolean isHidden()
boolean isSelected(PortalSiteRequestContext context)
context
- request contextCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.