info.magnolia.cms.gui.inline
Class ButtonEdit
java.lang.Object
info.magnolia.cms.gui.control.ControlImpl
info.magnolia.cms.gui.control.Button
info.magnolia.cms.gui.inline.ButtonEdit
- All Implemented Interfaces:
- Control
public class ButtonEdit
- extends Button
- 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 |
Constructor Summary |
ButtonEdit()
|
ButtonEdit(javax.servlet.http.HttpServletRequest request)
Deprecated. since 4.0 - use the empty constructor. |
ButtonEdit(javax.servlet.http.HttpServletRequest request,
java.lang.String path,
java.lang.String nodeCollectionName,
java.lang.String nodeName,
java.lang.String dialog)
Deprecated. since 4.0 - do not pass an HttpServletRequest |
ButtonEdit(java.lang.String path,
java.lang.String nodeCollectionName,
java.lang.String nodeName,
java.lang.String dialog)
|
Method Summary |
void |
drawHtml(javax.servlet.jsp.JspWriter out)
Deprecated. use drawHtml(Writer out) instead. |
void |
drawHtml(java.io.Writer out)
Draws the edit button. |
java.lang.String |
getDialog()
|
java.lang.String |
getLabel()
|
void |
setDefaultOnclick()
|
void |
setDefaultOnclick(javax.servlet.http.HttpServletRequest request)
Deprecated. since 4.0 - do not pass an HttpServletRequest |
void |
setDialog(java.lang.String dialog)
|
void |
setDialogPath(java.lang.String dialogPath)
|
void |
setLabel(java.lang.String s)
|
Methods inherited from class info.magnolia.cms.gui.control.Button |
getButtonType, getHtml, getHtmlDividedbutton, getHtmlPushbutton, getIconSrc, getOnclick, getPushButtonTag, getSmall, getState, setButtonType, setHtmlInter, setHtmlPost, setHtmlPre, setIconSrc, setOnclick, setPushButtonTag, setSmall, setState |
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, 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, 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 |
ButtonEdit
public ButtonEdit()
ButtonEdit
public ButtonEdit(javax.servlet.http.HttpServletRequest request)
- Deprecated. since 4.0 - use the empty constructor.
ButtonEdit
public ButtonEdit(javax.servlet.http.HttpServletRequest request,
java.lang.String path,
java.lang.String nodeCollectionName,
java.lang.String nodeName,
java.lang.String dialog)
- Deprecated. since 4.0 - do not pass an HttpServletRequest
ButtonEdit
public ButtonEdit(java.lang.String path,
java.lang.String nodeCollectionName,
java.lang.String nodeName,
java.lang.String dialog)
setDefaultOnclick
public void setDefaultOnclick(javax.servlet.http.HttpServletRequest request)
- Deprecated. since 4.0 - do not pass an HttpServletRequest
setDefaultOnclick
public void setDefaultOnclick()
getLabel
public java.lang.String getLabel()
- Overrides:
getLabel
in class Button
setLabel
public void setLabel(java.lang.String s)
- Overrides:
setLabel
in class Button
setDialogPath
public void setDialogPath(java.lang.String dialogPath)
setDialog
public void setDialog(java.lang.String dialog)
getDialog
public java.lang.String getDialog()
drawHtml
public void drawHtml(javax.servlet.jsp.JspWriter out)
throws java.io.IOException
- Deprecated. use drawHtml(Writer out) instead.
- Throws:
java.io.IOException
drawHtml
public void drawHtml(java.io.Writer out)
throws java.io.IOException
- Draws the edit button. The request has to be set!
- Throws:
java.io.IOException
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.