info.magnolia.cms.gui.inline
Class BarNew

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.BarNew
All Implemented Interfaces:
Control

public class BarNew
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
BarNew()
           
BarNew(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(Writer out)
          Draws the main bar (incl.
 Button getButtonNew()
           
 String getParagraph()
           
protected  String onClickForNewButton(String path, String nodeCollectionName, String nodeName, String paragraph, String repository, String dialogName)
           
 void placeDefaultButtons()
          Places the default buttons to the very right/left position.
 void setButtonNew()
           
 void setButtonNew(Button b)
           
 void setButtonNew(String path, String nodeCollectionName, String nodeName, String paragraph)
          Sets the default edit button.
 void setDefaultButtons()
          Sets the default buttons.
 void setParagraph(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

BarNew

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


BarNew

public BarNew()
Method Detail

setDefaultButtons

public void setDefaultButtons()
Sets the default buttons.


placeDefaultButtons

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


getButtonNew

public Button getButtonNew()

setButtonNew

public void setButtonNew(Button b)

setButtonNew

public void setButtonNew()

setButtonNew

public void setButtonNew(String path,
                         String nodeCollectionName,
                         String nodeName,
                         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

onClickForNewButton

protected String onClickForNewButton(String path,
                                     String nodeCollectionName,
                                     String nodeName,
                                     String paragraph,
                                     String repository,
                                     String dialogName)

drawHtml

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

Throws:
IOException

getParagraph

public String getParagraph()

setParagraph

public void setParagraph(String paragraph)


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