org.exoplatform.forum.common.webui
Class UIFormScrollSelectBox

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIFormInputBase<String>
              extended by org.exoplatform.forum.common.webui.UIFormScrollSelectBox
All Implemented Interfaces:
org.exoplatform.webui.form.UIFormInput<String>

public class UIFormScrollSelectBox
extends org.exoplatform.webui.form.UIFormInputBase<String>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
 
Fields inherited from class org.exoplatform.webui.form.UIFormInputBase
bindingField, defaultValue_, DISABLE, disabled, ENABLE, enable_, name, readonly_, typeValue_, validators, value_
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIFormScrollSelectBox()
           
UIFormScrollSelectBox(String name, String bindingExpression)
           
UIFormScrollSelectBox(String name, String bindingExpression, List<org.exoplatform.webui.core.model.SelectItemOption<String>> options)
           
UIFormScrollSelectBox(String name, String bindingExpression, String defaultValue)
           
 
Method Summary
 void decode(Object input, org.exoplatform.webui.application.WebuiRequestContext context)
           
 int getMaxDisplayOption()
           
 String getOnchange()
           
 List<org.exoplatform.webui.core.model.SelectItemOption<String>> getOptions()
           
 org.exoplatform.webui.core.model.SelectItemOption<String> getSelectedItem()
           
 String getSelectedLabel()
           
 String getSelectedValue()
           
 void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
           
protected  String renderOnChangeEvent(org.exoplatform.webui.form.UIForm uiForm)
           
 UIFormScrollSelectBox setMaxDisplayOption(int maxDisplayOption)
           
 UIFormScrollSelectBox setOnChange(String onchange)
           
 UIFormScrollSelectBox setOptions(List<org.exoplatform.webui.core.model.SelectItemOption<String>> options)
           
 UIFormScrollSelectBox setValue(String value)
           
 
Methods inherited from class org.exoplatform.webui.form.UIFormInputBase
addValidator, getBindingField, getDefaultValue, getHTMLAttribute, getLabel, getName, getTypeValue, getValidators, getValue, isDisabled, isEditable, isEnable, isMandatory, isReadOnly, isValid, processDecode, renderHTMLAttributes, reset, setBindingField, setDefaultValue, setDisabled, setEditable, setEnable, setHTMLAttribute, setLabel, setName, setReadOnly
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIFormScrollSelectBox

public UIFormScrollSelectBox()

UIFormScrollSelectBox

public UIFormScrollSelectBox(String name,
                             String bindingExpression)

UIFormScrollSelectBox

public UIFormScrollSelectBox(String name,
                             String bindingExpression,
                             String defaultValue)

UIFormScrollSelectBox

public UIFormScrollSelectBox(String name,
                             String bindingExpression,
                             List<org.exoplatform.webui.core.model.SelectItemOption<String>> options)
Method Detail

setMaxDisplayOption

public final UIFormScrollSelectBox setMaxDisplayOption(int maxDisplayOption)

getMaxDisplayOption

public int getMaxDisplayOption()

setValue

public UIFormScrollSelectBox setValue(String value)
Specified by:
setValue in interface org.exoplatform.webui.form.UIFormInput<String>
Overrides:
setValue in class org.exoplatform.webui.form.UIFormInputBase<String>

getOptions

public final List<org.exoplatform.webui.core.model.SelectItemOption<String>> getOptions()

setOptions

public final UIFormScrollSelectBox setOptions(List<org.exoplatform.webui.core.model.SelectItemOption<String>> options)

getOnchange

public String getOnchange()

setOnChange

public UIFormScrollSelectBox setOnChange(String onchange)

renderOnChangeEvent

protected String renderOnChangeEvent(org.exoplatform.webui.form.UIForm uiForm)
                              throws Exception
Throws:
Exception

decode

public void decode(Object input,
                   org.exoplatform.webui.application.WebuiRequestContext context)
Specified by:
decode in class org.exoplatform.webui.form.UIFormInputBase<String>

getSelectedValue

public String getSelectedValue()

getSelectedLabel

public String getSelectedLabel()

getSelectedItem

public org.exoplatform.webui.core.model.SelectItemOption<String> getSelectedItem()

processRender

public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
                   throws Exception
Overrides:
processRender in class org.exoplatform.webui.core.UIComponent
Throws:
Exception


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.