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

Select

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

Select

public Select(java.lang.String name,
              Content websiteNode)
Method Detail

setOptions

public void setOptions(java.util.List l)

setOptions

public void setOptions(SelectOption option)

setOptions

public void setOptions(java.lang.String label,
                       java.lang.String value)

getOptions

public java.util.List getOptions()

setMultiple

public void setMultiple(java.lang.String multiple)
Sets the multiple.

Parameters:
multiple - the multiple to set

getMultiple

public java.lang.String getMultiple()
Returns the multiple.

Returns:
the multiple

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