info.magnolia.cms.gui.control
Class Select

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

public class Select
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
Select()
           
Select(String name, info.magnolia.cms.core.Content websiteNode)
           
Select(String name, List values)
           
Select(String name, String value)
           
 
Method Summary
 String getHtml()
          Returns an empty string.
 String getMultiple()
          Returns the multiple.
 List getOptions()
           
 void setMultiple(String multiple)
          Sets the multiple.
 void setOptions(List l)
           
 void setOptions(SelectOption option)
           
 void setOptions(String label, String value)
           
 
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

Select

public Select()

Select

public Select(String name,
              String value)

Select

public Select(String name,
              List values)

Select

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

setOptions

public void setOptions(List l)

setOptions

public void setOptions(SelectOption option)

setOptions

public void setOptions(String label,
                       String value)

getOptions

public List getOptions()

setMultiple

public void setMultiple(String multiple)
Sets the multiple.

Parameters:
multiple - the multiple to set

getMultiple

public String getMultiple()
Returns the multiple.

Returns:
the multiple

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