net.sf.navigator.displayer
Class MessageResourcesMenuDisplayer
java.lang.Object
net.sf.navigator.displayer.AbstractMenuDisplayer
net.sf.navigator.displayer.MessageResourcesMenuDisplayer
- All Implemented Interfaces:
- MenuDisplayer
- Direct Known Subclasses:
- CoolMenuDisplayer, CoolMenuDisplayer4, DropDownMenuDisplayer, ListMenuDisplayer, SimpleMenuDisplayer, VelocityMenuDisplayer, XtreeMenuDisplayer
public abstract class MessageResourcesMenuDisplayer
- extends AbstractMenuDisplayer
- Version:
- Author:
- ssayles
Methods inherited from class net.sf.navigator.displayer.AbstractMenuDisplayer |
end, getConfig, getName, getPermissionsAdapter, getTarget, getTarget, init, isAllowed, setConfig, setName, setPermissionsAdapter, setTarget |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final transient org.apache.commons.logging.Log log
messages
protected Object messages
locale
protected Locale locale
MessageResourcesMenuDisplayer
public MessageResourcesMenuDisplayer()
getLocale
public Locale getLocale()
setLocale
public void setLocale(Locale locale)
getMessageResources
public Object getMessageResources()
setMessageResources
public void setMessageResources(Object messages)
getMessage
public String getMessage(String key)
- Get the title key from the bundle (if it exists). This method
is public to expose it to Velocity.
- Parameters:
key
- the key
getMenuTarget
public String getMenuTarget(MenuComponent menu)
- Get the menu's target (if it exists). This method
is public to expose it to Velocity.
- Parameters:
menu
-
getMenuToolTip
public String getMenuToolTip(MenuComponent menu)
- Get the menu's tooltip (if it exists). This method
is public to expose it to Velocity.
- Parameters:
menu
-
getMenuOnClick
public String getMenuOnClick(MenuComponent menu)
display
public abstract void display(MenuComponent menu)
throws javax.servlet.jsp.JspException,
IOException
- Specified by:
display
in interface MenuDisplayer
- Specified by:
display
in class AbstractMenuDisplayer
- Throws:
javax.servlet.jsp.JspException
IOException
Copyright © 2003-2007 SourceForge. All Rights Reserved.