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_NO, ENCRYPTION_HASH_BCRYPT, ENCRYPTION_HASH_SHA, ENCRYPTION_NO, ENCRYPTION_NO_ENCODING_BASE64, RICHEDIT_FCK, RICHEDIT_KUPU, RICHEDIT_NONE, VALUETYPE_MULTIPLE, VALUETYPE_SINGLE
 
Constructor Summary
ButtonSet()
           
ButtonSet(String name, info.magnolia.cms.core.Content websiteNode)
           
ButtonSet(String name, List values)
           
ButtonSet(String name, String value)
           
 
Method Summary
 String getButtonHtmlInter()
           
 String getButtonHtmlPost()
           
 String getButtonHtmlPre()
           
 List getButtons()
           
 int getButtonType()
           
 String getHtml()
          Returns an empty string.
 String getHtmlInter()
           
 String getHtmlPost()
           
 String getHtmlPre()
           
 void setButtonHtmlInter(String s)
           
 void setButtonHtmlPost(String s)
           
 void setButtonHtmlPre(String s)
           
 void setButtons(Button button)
           
 void setButtons(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(String name,
                 String value)

ButtonSet

public ButtonSet(String name,
                 List values)

ButtonSet

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

setButtons

public void setButtons(List buttons)

setButtons

public void setButtons(Button button)

getButtons

public List getButtons()

setButtonHtmlPre

public void setButtonHtmlPre(String s)

getButtonHtmlPre

public String getButtonHtmlPre()

setButtonHtmlInter

public void setButtonHtmlInter(String s)

getButtonHtmlInter

public String getButtonHtmlInter()

setButtonHtmlPost

public void setButtonHtmlPost(String s)

getButtonHtmlPost

public String getButtonHtmlPost()

getHtmlPre

public String getHtmlPre()
Overrides:
getHtmlPre in class ControlImpl

getHtmlInter

public String getHtmlInter()
Overrides:
getHtmlInter in class ControlImpl

getHtmlPost

public String getHtmlPost()
Overrides:
getHtmlPost in class ControlImpl

setButtonType

public void setButtonType(int i)

getButtonType

public int getButtonType()

getHtml

public 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-2012 Magnolia International Ltd.. All Rights Reserved.