|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.portalsite.impl.MenuElementImpl
org.apache.jetspeed.portalsite.impl.MenuOptionImpl
public class MenuOptionImpl
This class implements the portal-site menu option elements constructed and returned to decorators.
Field Summary |
---|
Fields inherited from interface org.apache.jetspeed.portalsite.MenuOption |
---|
FOLDER_OPTION_TYPE, LINK_OPTION_TYPE, PAGE_OPTION_TYPE |
Fields inherited from interface org.apache.jetspeed.portalsite.MenuElement |
---|
MENU_ELEMENT_TYPE, OPTION_ELEMENT_TYPE, SEPARATOR_ELEMENT_TYPE |
Constructor Summary | |
---|---|
MenuOptionImpl(MenuImpl parent,
Node node,
MenuOptionsDefinition definition)
MenuOptionImpl - constructor |
Method Summary | |
---|---|
java.lang.String |
getDefaultPage()
getDefaultPage - get default page for a folder (if folder) of menu option |
java.lang.String |
getElementType()
getElementType - get type of menu element |
java.lang.String |
getSkin()
getSkin - get skin name for menu element |
java.lang.String |
getTarget()
getTarget - get target for url of menu option |
java.lang.String |
getType()
getType - get type of menu option |
java.lang.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 by the specified request context |
Methods inherited from class org.apache.jetspeed.portalsite.impl.MenuElementImpl |
---|
clone, equals, getMetadata, getName, getNode, getParentMenu, getShortTitle, getShortTitle, getTitle, getTitle, setNode, setParentMenu |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jetspeed.portalsite.MenuElement |
---|
getMetadata, getParentMenu, getShortTitle, getShortTitle, getTitle, getTitle |
Constructor Detail |
---|
public MenuOptionImpl(MenuImpl parent, Node node, MenuOptionsDefinition definition)
parent
- containing menu implementationnode
- menu option node proxydefinition
- menu option definitionMethod Detail |
---|
public java.lang.String getElementType()
getElementType
in interface MenuElement
getElementType
in class MenuElementImpl
public java.lang.String getType()
getType
in interface MenuOption
public java.lang.String getSkin()
getSkin
in interface MenuElement
getSkin
in class MenuElementImpl
public java.lang.String getUrl()
getUrl
in interface MenuOption
getUrl
in class MenuElementImpl
public java.lang.String getTarget()
getTarget
in interface MenuOption
public java.lang.String getDefaultPage()
getDefaultPage
in interface MenuOption
public boolean isHidden()
isHidden
in interface MenuOption
public boolean isSelected(PortalSiteRequestContext context)
isSelected
in interface MenuOption
context
- request context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |