Class UIFormScrollSelectBox

java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIFormInputBase<String>
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
    Modifier and Type
    Field
    Description
    protected org.exoplatform.services.log.Log
     

    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, USE_WEBUI_RESOURCES
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    UIFormScrollSelectBox(String name, String bindingExpression)
     
    UIFormScrollSelectBox(String name, String bindingExpression, String defaultValue)
     
    UIFormScrollSelectBox(String name, String bindingExpression, List<org.exoplatform.webui.core.model.SelectItemOption<String>> options)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    decode(Object input, org.exoplatform.webui.application.WebuiRequestContext context)
     
    int
     
     
    final List<org.exoplatform.webui.core.model.SelectItemOption<String>>
     
    org.exoplatform.webui.core.model.SelectItemOption<String>
     
     
     
    void
    processRender(org.exoplatform.webui.application.WebuiRequestContext context)
     
    protected String
    renderOnChangeEvent(org.exoplatform.webui.form.UIForm uiForm)
     
    setMaxDisplayOption(int maxDisplayOption)
     
    setOnChange(String onchange)
     
    setOptions(List<org.exoplatform.webui.core.model.SelectItemOption<String>> options)
     
     

    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, buildModelObject, 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
  • Field Details

    • log

      protected org.exoplatform.services.log.Log log
  • Constructor Details

    • 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 Details

    • 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