info.magnolia.cms.gui.inline
Class BarEdit

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

public class BarEdit
extends Bar

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
BarEdit()
           
BarEdit(javax.servlet.http.HttpServletRequest request)
          Deprecated. since 4.0 - use the empty constructor.
 
Method Summary
 void drawHtml(javax.servlet.jsp.JspWriter out)
          Deprecated. use drawHtml(Writer out) instead.
 void drawHtml(java.io.Writer out)
          Draws the main bar (incl.
 Button getButtonDelete()
           
 ButtonEdit getButtonEdit()
           
 Button getButtonMove()
           
 java.lang.String getParagraph()
           
 void placeDefaultButtons()
          Places the default buttons to the very right/left position.
 void setButtonDelete()
          Deprecated. use setButtonDelete(String)
 void setButtonDelete(Button b)
           
 void setButtonDelete(java.lang.String pathToDelete)
           
 void setButtonDelete(java.lang.String path, java.lang.String nodeCollectionName, java.lang.String nodeName)
          Deprecated. use setButtonDelete(String)
 void setButtonEdit()
           
 void setButtonEdit(ButtonEdit b)
           
 void setButtonEdit(java.lang.String path, java.lang.String nodeCollectionName, java.lang.String nodeName, java.lang.String paragraph)
          Sets the default edit button.
 void setButtonMove()
           
 void setButtonMove(Button b)
           
 void setButtonMove(java.lang.String nodeCollectionName, java.lang.String nodeName)
          Sets the default move button.
 void setDefaultButtons()
          Sets the default buttons.
 void setParagraph(java.lang.String paragraph)
           
 
Methods inherited from class info.magnolia.cms.gui.control.Bar
getButtonsLeft, getButtonsRight, getHtml, getSmall, setButtonsLeft, setButtonsLeft, setButtonsRight, setButtonsRight, setSmall
 
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
 

Constructor Detail

BarEdit

public BarEdit(javax.servlet.http.HttpServletRequest request)
Deprecated. since 4.0 - use the empty constructor.


BarEdit

public BarEdit()
Method Detail

setDefaultButtons

public void setDefaultButtons()
Sets the default buttons.


placeDefaultButtons

public void placeDefaultButtons()
Places the default buttons to the very right/left position.


getButtonEdit

public ButtonEdit getButtonEdit()

setButtonEdit

public void setButtonEdit(ButtonEdit b)

setButtonEdit

public void setButtonEdit()

setButtonEdit

public void setButtonEdit(java.lang.String path,
                          java.lang.String nodeCollectionName,
                          java.lang.String nodeName,
                          java.lang.String paragraph)
Sets the default edit button.

Parameters:
path - , path of the current page
nodeCollectionName - , i.e. 'MainParagarphs'
nodeName - , i.e. '01'
paragraph - , paragraph type

getButtonMove

public Button getButtonMove()

setButtonMove

public void setButtonMove(Button b)

setButtonMove

public void setButtonMove()

setButtonMove

public void setButtonMove(java.lang.String nodeCollectionName,
                          java.lang.String nodeName)
Sets the default move button.

Parameters:
nodeCollectionName - , i.e. 'MainParagarphs'
nodeName - , i.e. '01'

getButtonDelete

public Button getButtonDelete()

setButtonDelete

public void setButtonDelete(Button b)

setButtonDelete

public void setButtonDelete()
Deprecated. use setButtonDelete(String)


setButtonDelete

public void setButtonDelete(java.lang.String path,
                            java.lang.String nodeCollectionName,
                            java.lang.String nodeName)
Deprecated. use setButtonDelete(String)

Sets the default delete button.

Parameters:
path - , path of the current page
nodeCollectionName - , i.e. 'MainColumnParagraphs'
nodeName - , i.e. '01'

setButtonDelete

public void setButtonDelete(java.lang.String pathToDelete)

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 main bar (incl. all magnolia specific js and css sources).

Throws:
java.io.IOException

getParagraph

public java.lang.String getParagraph()

setParagraph

public void setParagraph(java.lang.String paragraph)


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