org.hippoecm.hst.core.sitemenu
Class AbstractMenu

java.lang.Object
  extended by org.hippoecm.hst.core.sitemenu.AbstractMenu
All Implemented Interfaces:
CommonMenu
Direct Known Subclasses:
EditableMenuImpl, HstSiteMenuImpl

public abstract class AbstractMenu
extends Object
implements CommonMenu


Field Summary
protected  boolean expanded
           
protected  String name
           
 
Constructor Summary
AbstractMenu()
           
 
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
 

Field Detail

name

protected String name

expanded

protected boolean expanded
Constructor Detail

AbstractMenu

public AbstractMenu()
Method Detail

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.