org.exoplatform.forum.common.webui
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 classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| 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 |
| 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 |
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)
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.