| java.lang.Object org.apache.jetspeed.portalsite.impl.MenuElementImpl org.apache.jetspeed.portalsite.impl.MenuOptionImpl
MenuOptionImpl | public class MenuOptionImpl extends MenuElementImpl implements MenuOption,Cloneable(Code) | | This class implements the portal-site menu option
elements constructed and returned to decorators.
author: Randy Watler version: $Id: MenuOptionImpl.java 537314 2007-05-11 23:08:36Z taylor $ |
MenuOptionImpl | public MenuOptionImpl(MenuImpl parent, Node node, MenuOptionsDefinition definition)(Code) | | MenuOptionImpl - constructor
Parameters: parent - containing menu implementation Parameters: node - menu option node proxy Parameters: definition - menu option definition |
getDefaultPage | public String getDefaultPage()(Code) | | getDefaultPage - get default page for a folder (if folder) of menu option
url target |
getElementType | public String getElementType()(Code) | | getElementType - get type of menu element
OPTION_ELEMENT_TYPE |
getSkin | public String getSkin()(Code) | | getSkin - get skin name for menu element
skin name |
getTarget | public String getTarget()(Code) | | getTarget - get target for url of menu option
url target |
getType | public String getType()(Code) | | getType - get type of menu option
FOLDER_OPTION_TYPE, PAGE_OPTION_TYPE, orLINK_OPTION_TYPE |
getUrl | public String getUrl()(Code) | | getUrl - get url of menu option
folder, page, or link url |
isHidden | public boolean isHidden()(Code) | | isHidden - get hidden state of menu option
hidden state |
isSelected | public boolean isSelected(PortalSiteRequestContext context)(Code) | | isSelected - return true if menu option is selected by
the specified request context
Parameters: context - request context selected state |
|
|