| java.lang.Object org.apache.jetspeed.portalsite.impl.MenuElementImpl
All known Subclasses: org.apache.jetspeed.portalsite.impl.MenuImpl, org.apache.jetspeed.portalsite.impl.MenuOptionImpl, org.apache.jetspeed.portalsite.impl.MenuSeparatorImpl,
MenuElementImpl | abstract public class MenuElementImpl implements MenuElement,Cloneable(Code) | | This abstract class implements common features of portal-site
menu elements constructed and returned to decorators.
author: Randy Watler version: $Id: MenuElementImpl.java 516448 2007-03-09 16:25:47Z ate $ |
MenuElementImpl | protected MenuElementImpl(MenuImpl parent)(Code) | | MenuElementImpl - constructor
Parameters: parent - containing menu implementation |
MenuElementImpl | protected MenuElementImpl(MenuImpl parent, Node node)(Code) | | MenuElementImpl - node proxy constructor
Parameters: parent - containing menu implementation Parameters: node - menu element node proxy |
equals | public boolean equals(Object obj)(Code) | | equals - compare menu element implementations
equals result |
getElementType | abstract public String getElementType()(Code) | | getElementType - get type of menu element
MENU_ELEMENT_TYPE, OPTION_ELEMENT_TYPE, orSEPARATOR_ELEMENT_TYPE |
getMetadata | public GenericMetadata getMetadata()(Code) | | getMetadata - get generic metadata for menu element
metadata |
getName | public String getName()(Code) | | getName - get name of menu element used for default title
menu element name |
getNode | protected Node getNode()(Code) | | getNode - get menu element node proxy in the site view
node proxy |
getParentMenu | public Menu getParentMenu()(Code) | | getParentMenu - get menu that contains menu element
parent menu |
getShortTitle | public String getShortTitle()(Code) | | getShortTitle - get default short title for menu element
short title text |
getShortTitle | public String getShortTitle(Locale locale)(Code) | | getShortTitle - get locale specific short title for menu
element from metadata
Parameters: locale - preferred locale short title text |
getSkin | public String getSkin()(Code) | | getSkin - get skin name for menu element
skin name |
getTitle | public String getTitle()(Code) | | getTitle - get default title for menu element
title text |
getTitle | public String getTitle(Locale locale)(Code) | | getTitle - get locale specific title for menu element
from metadata
Parameters: locale - preferred locale title text |
getUrl | public String getUrl()(Code) | | getUrl - get url of menu element used for comparison
folder, page, or link url |
setNode | protected void setNode(Node node)(Code) | | setNode - set menu element node proxy in the site view
Parameters: node - node proxy |
setParentMenu | protected void setParentMenu(Menu parentMenu)(Code) | | setParentMenu - set menu that contains menu element
Parameters: parentMenu - parent menu |
|
|