info.magnolia.cms.gui.control
Class ButtonSet

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

public class ButtonSet
extends ControlImpl

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
ButtonSet()
           
ButtonSet(java.lang.String name, info.magnolia.cms.core.Content websiteNode)
           
ButtonSet(java.lang.String name, java.util.List values)
           
ButtonSet(java.lang.String name, java.lang.String value)
           
 
Method Summary
 java.lang.String getButtonHtmlInter()
           
 java.lang.String getButtonHtmlPost()
           
 java.lang.String getButtonHtmlPre()
           
 java.util.List getButtons()
           
 int getButtonType()
           
 java.lang.String getHtml()
          Returns an empty string.
 java.lang.String getHtmlInter()
           
 java.lang.String getHtmlPost()
           
 java.lang.String getHtmlPre()
           
 void setButtonHtmlInter(java.lang.String s)
           
 void setButtonHtmlPost(java.lang.String s)
           
 void setButtonHtmlPre(java.lang.String s)
           
 void setButtons(Button button)
           
 void setButtons(java.util.List buttons)
           
 void setButtonType(int i)
           
 
Methods inherited from class info.magnolia.cms.gui.control.ControlImpl
escapeHTML, getCssClass, getCssStyles, getCssStyles, getCssStyles, getEncoding, getEvents, getHtmlCssClass, getHtmlCssStyles, getHtmlEvents, getHtmlId, getHtmlInter, getHtmlPost, 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

ButtonSet

public ButtonSet()

ButtonSet

public ButtonSet(java.lang.String name,
                 java.lang.String value)

ButtonSet

public ButtonSet(java.lang.String name,
                 java.util.List values)

ButtonSet

public ButtonSet(java.lang.String name,
                 info.magnolia.cms.core.Content websiteNode)
Method Detail

setButtons

public void setButtons(java.util.List buttons)

setButtons

public void setButtons(Button button)

getButtons

public java.util.List getButtons()

setButtonHtmlPre

public void setButtonHtmlPre(java.lang.String s)

getButtonHtmlPre

public java.lang.String getButtonHtmlPre()

setButtonHtmlInter

public void setButtonHtmlInter(java.lang.String s)

getButtonHtmlInter

public java.lang.String getButtonHtmlInter()

setButtonHtmlPost

public void setButtonHtmlPost(java.lang.String s)

getButtonHtmlPost

public java.lang.String getButtonHtmlPost()

getHtmlPre

public java.lang.String getHtmlPre()
Overrides:
getHtmlPre in class ControlImpl

getHtmlInter

public java.lang.String getHtmlInter()
Overrides:
getHtmlInter in class ControlImpl

getHtmlPost

public java.lang.String getHtmlPost()
Overrides:
getHtmlPost in class ControlImpl

setButtonType

public void setButtonType(int i)

getButtonType

public int getButtonType()

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()


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