info.magnolia.cms.gui.inline
Class ButtonEdit

java.lang.Object
  extended by info.magnolia.cms.gui.control.ControlImpl
      extended by info.magnolia.cms.gui.control.Button
          extended by info.magnolia.cms.gui.inline.ButtonEdit
All Implemented Interfaces:
Control

public class ButtonEdit
extends Button

Version:
2.0
Author:
Vinzenz Wyser

Field Summary
 
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, String path, String nodeCollectionName, String nodeName, String dialog)
          Deprecated. since 4.0 - do not pass an HttpServletRequest
ButtonEdit(String path, String nodeCollectionName, String nodeName, String dialog)
           
 
Method Summary
 void drawHtml(javax.servlet.jsp.JspWriter out)
          Deprecated. use drawHtml(Writer out) instead.
 void drawHtml(Writer out)
          Draws the edit button.
 String getDialog()
           
 String getLabel()
           
 void setDefaultOnclick()
           
 void setDefaultOnclick(javax.servlet.http.HttpServletRequest request)
          Deprecated. since 4.0 - do not pass an HttpServletRequest
 void setDialog(String dialog)
           
 void setDialogPath(String dialogPath)
           
 void setLabel(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
 

Constructor Detail

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,
                  String path,
                  String nodeCollectionName,
                  String nodeName,
                  String dialog)
Deprecated. since 4.0 - do not pass an HttpServletRequest


ButtonEdit

public ButtonEdit(String path,
                  String nodeCollectionName,
                  String nodeName,
                  String dialog)
Method Detail

setDefaultOnclick

public void setDefaultOnclick(javax.servlet.http.HttpServletRequest request)
Deprecated. since 4.0 - do not pass an HttpServletRequest


setDefaultOnclick

public void setDefaultOnclick()

getLabel

public String getLabel()
Overrides:
getLabel in class Button

setLabel

public void setLabel(String s)
Overrides:
setLabel in class Button

setDialogPath

public void setDialogPath(String dialogPath)

setDialog

public void setDialog(String dialog)

getDialog

public String getDialog()

drawHtml

public void drawHtml(javax.servlet.jsp.JspWriter out)
              throws IOException
Deprecated. use drawHtml(Writer out) instead.

Throws:
IOException

drawHtml

public void drawHtml(Writer out)
              throws IOException
Draws the edit button. The request has to be set!

Throws:
IOException


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.