info.magnolia.cms.gui.control
Class ContextMenuItem
java.lang.Object
info.magnolia.cms.gui.control.ControlImpl
info.magnolia.cms.gui.control.ContextMenuItem
- All Implemented Interfaces:
- Control
- Direct Known Subclasses:
- FunctionBarItem
public class ContextMenuItem
- extends ControlImpl
- Version:
- 2.0
- Author:
- Vinzenz Wyser
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_NO, ENCRYPTION_HASH_BCRYPT, ENCRYPTION_HASH_SHA, ENCRYPTION_NO, ENCRYPTION_NO_ENCODING_BASE64, RICHEDIT_FCK, RICHEDIT_KUPU, RICHEDIT_NONE, VALUETYPE_MULTIPLE, VALUETYPE_SINGLE |
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 |
ContextMenuItem
public ContextMenuItem()
ContextMenuItem
public ContextMenuItem(String name)
getRefreshMenuItem
public static ContextMenuItem getRefreshMenuItem(Tree tree,
info.magnolia.cms.i18n.Messages msgs,
javax.servlet.http.HttpServletRequest request)
setOnclick
public void setOnclick(String s)
getOnclick
public String getOnclick()
addJavascriptCondition
public void addJavascriptCondition(String methodName)
- Must be a object with a method test(): addJavascriptCondition("new MyCondition()").
getJavascriptConditions
public List getJavascriptConditions()
getJavascriptCondition
public String getJavascriptCondition(int index)
getHtml
public String getHtml()
- Description copied from class:
ControlImpl
- Returns an empty string.
- Specified by:
getHtml
in interface Control
- Overrides:
getHtml
in class ControlImpl
- Returns:
- html
- See Also:
Control.getHtml()
getIcon
public String getIcon()
setIcon
public void setIcon(String icon)
getJavascriptMenuName
public String getJavascriptMenuName()
setJavascriptMenuName
public void setJavascriptMenuName(String javascriptMenuName)
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.