info.magnolia.cms.gui.control
Class FunctionBarItem
java.lang.Object
info.magnolia.cms.gui.control.ControlImpl
info.magnolia.cms.gui.control.ContextMenuItem
info.magnolia.cms.gui.control.FunctionBarItem
- All Implemented Interfaces:
- Control
public class FunctionBarItem
- extends ContextMenuItem
Represents an item in the function bar.
- Author:
- higi
Fields inherited from class info.magnolia.cms.gui.control.ControlImpl |
BUTTONSTATE_DISABLED, BUTTONSTATE_MOUSEDOWN, BUTTONSTATE_MOUSEOVER, BUTTONSTATE_NORMAL, BUTTONSTATE_PUSHED, BUTTONTYPE_CHECKBOX, BUTTONTYPE_PUSHBUTTON, BUTTONTYPE_RADIO, CSSCLASS_CONTROLBAR, CSSCLASS_CONTROLBARSMALL, CSSCLASS_CONTROLBUTTON, CSSCLASS_CONTROLBUTTONSMALL, ENCODING_BASE64, ENCODING_NO, ENCODING_UNIX, RICHEDIT_FCK, RICHEDIT_KUPU, RICHEDIT_NONE, VALUETYPE_MULTIPLE, VALUETYPE_SINGLE |
Methods inherited from class info.magnolia.cms.gui.control.ContextMenuItem |
addJavascriptCondition, getHtml, getIcon, getJavascriptCondition, getJavascriptConditions, getJavascriptMenuName, getOnclick, getRefreshMenuItem, setIcon, setJavascriptMenuName, setOnclick |
Methods inherited from class info.magnolia.cms.gui.control.ControlImpl |
escapeHTML, getCssClass, getCssStyles, getCssStyles, getCssStyles, getEncoding, getEvents, getHtmlCssClass, getHtmlCssStyles, getHtmlEvents, getHtmlId, getHtmlInter, getHtmlInter, getHtmlPost, getHtmlPost, getHtmlPre, getHtmlPre, getHtmlSaveInfo, getId, getIsRichEditValue, getLabel, getName, getNodeCollectionName, getNodeCollectionName, getNodeName, getNodeName, getPath, getRequest, getSaveInfo, getType, getValue, getValues, getValueType, getWebsiteNode, println, setCssClass, setCssStyles, setCssStyles, setEncoding, setEvent, setEvent, setEvents, setHtmlInter, setHtmlPost, setHtmlPre, setId, setIsRichEditValue, setLabel, setName, setNodeCollectionName, setNodeName, setPath, setRequest, setSaveInfo, setType, setType, setValue, setValues, setValueType, setWebsiteNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FunctionBarItem
public FunctionBarItem(String name)
FunctionBarItem
public FunctionBarItem(ContextMenuItem item)
- Copy constructor. Used because the most buttons are redundant to it's context menu item
- Parameters:
item
-
getRefreshFunctionBarItem
public static FunctionBarItem getRefreshFunctionBarItem(Tree tree,
Messages msgs,
javax.servlet.http.HttpServletRequest request)
isActive
public boolean isActive()
- Returns:
- Returns the active.
setActive
public void setActive(boolean active)
- Parameters:
active
- The active to set.
getInactiveIcon
public String getInactiveIcon()
- Add the _inactive suffix.
- Returns:
- the proper name
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.