org.hippoecm.hst.core.sitemenu
Class AbstractMenu
java.lang.Object
org.hippoecm.hst.core.sitemenu.AbstractMenu
- All Implemented Interfaces:
- CommonMenu
- Direct Known Subclasses:
- EditableMenuImpl, HstSiteMenuImpl
public abstract class AbstractMenu
- extends Object
- implements CommonMenu
Method Summary |
String |
getName()
Returns the name of this SiteMenu. |
boolean |
isExpanded()
Based on the request, the implementation should be able to indicate whether this HstSiteMenu is expanded |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
expanded
protected boolean expanded
AbstractMenu
public AbstractMenu()
getName
public String getName()
- Description copied from interface:
CommonMenu
- Returns the name of this SiteMenu. For example, you could have a "topmenu", "leftmenu" and "footermenu" on your site/portal,
where these names might be appropriate
- Specified by:
getName
in interface CommonMenu
- Returns:
- the name of this SiteMenu
isExpanded
public boolean isExpanded()
- Description copied from interface:
CommonMenu
- Based on the request, the implementation should be able to indicate whether this HstSiteMenu is expanded
- Specified by:
isExpanded
in interface CommonMenu
- Returns:
true
when any HstSiteMenuItem in this HstSiteMenu container is selected
Copyright © 2008-2012 Hippo. All Rights Reserved.