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_BASE64, ENCODING_NO, ENCODING_UNIX, 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(java.lang.String name)
getRefreshMenuItem
public static ContextMenuItem getRefreshMenuItem(Tree tree,
Messages msgs,
javax.servlet.http.HttpServletRequest request)
setOnclick
public void setOnclick(java.lang.String s)
getOnclick
public java.lang.String getOnclick()
addJavascriptCondition
public void addJavascriptCondition(java.lang.String methodName)
- Must be a object with a method test(): addJavascriptCondition("new MyCondition()").
getJavascriptConditions
public java.util.List getJavascriptConditions()
getJavascriptCondition
public java.lang.String getJavascriptCondition(int index)
getHtml
public java.lang.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 java.lang.String getIcon()
setIcon
public void setIcon(java.lang.String icon)
getJavascriptMenuName
public java.lang.String getJavascriptMenuName()
setJavascriptMenuName
public void setJavascriptMenuName(java.lang.String javascriptMenuName)
Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.