org.exoplatform.mail.webui
Class UIFormComboBox
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIFormInputBase<java.lang.String>
org.exoplatform.mail.webui.UIFormComboBox
- All Implemented Interfaces:
- org.exoplatform.webui.form.UIFormInput<java.lang.String>
public class UIFormComboBox
- extends org.exoplatform.webui.form.UIFormInputBase<java.lang.String>
Created by The eXo Platform SARL
Author : Tuan Pham
tuan.pham@exoplatform.com
Dec 3, 2007
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
|
Field Summary |
static java.lang.String |
ON_BLUR
The javascript expression executed when an client event fires |
static java.lang.String |
ON_CHANGE
The javascript expression executed when an client onChange event fires |
static java.lang.String |
ON_CLICK
The javascript expression executed when an client event fires |
static java.lang.String |
ON_FOCUS
The javascript expression executed when an client event fires |
static java.lang.String |
ON_KEYDOWN
The javascript expression executed when an client event fires |
static java.lang.String |
ON_KEYUP
The javascript expression executed when an client event fires |
protected int |
size_
The size of the list (number of select options) |
| Fields inherited from class org.exoplatform.webui.form.UIFormInputBase |
bindingField, defaultValue_, DISABLE, ENABLE, enable_, name, readonly_, typeValue_, validators, value_ |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
config, OBJECTID, UICOMPONENT, uiparent |
|
Constructor Summary |
UIFormComboBox(java.lang.String name,
java.lang.String value)
|
UIFormComboBox(java.lang.String name,
java.lang.String bindingExpression,
java.util.List<org.exoplatform.webui.core.model.SelectItemOption<java.lang.String>> options)
|
UIFormComboBox(java.lang.String name,
java.lang.String bindingExpression,
java.util.List<org.exoplatform.webui.core.model.SelectItemOption<java.lang.String>> options,
java.util.Map<java.lang.String,java.lang.String> jsActions)
|
UIFormComboBox(java.lang.String name,
java.lang.String bindingExpression,
java.lang.String value)
|
|
Method Summary |
void |
addJsActions(java.lang.String action,
java.lang.String javaScript)
|
void |
decode(java.lang.Object input,
org.exoplatform.webui.application.WebuiRequestContext context)
|
java.util.Map<java.lang.String,java.lang.String> |
getJsActions()
|
org.exoplatform.webui.form.UIForm |
getUIform()
|
void |
processRender(org.exoplatform.webui.application.WebuiRequestContext context)
|
protected java.lang.String |
renderOnChangeEvent(org.exoplatform.webui.form.UIForm uiForm)
|
void |
setJsActions(java.util.Map<java.lang.String,java.lang.String> jsActions)
|
void |
setOnChange(java.lang.String onchange)
|
UIFormComboBox |
setOptions(java.util.List<org.exoplatform.webui.core.model.SelectItemOption<java.lang.String>> options)
|
| Methods inherited from class org.exoplatform.webui.form.UIFormInputBase |
addValidator, getBindingField, getDefaultValue, getLabel, getName, getTypeValue, getValidators, getValue, isEditable, isEnable, isMandatory, isValid, processDecode, reset, setBindingField, setDefaultValue, setEditable, setEnable, setLabel, setName, setValue |
| Methods inherited from class org.exoplatform.webui.core.UIContainer |
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit |
| Methods inherited from class org.exoplatform.webui.core.UIComponent |
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url, url |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
size_
protected int size_
- The size of the list (number of select options)
ON_CHANGE
public static final java.lang.String ON_CHANGE
- The javascript expression executed when an client onChange event fires
ON_BLUR
public static final java.lang.String ON_BLUR
- The javascript expression executed when an client event fires
ON_FOCUS
public static final java.lang.String ON_FOCUS
- The javascript expression executed when an client event fires
ON_KEYUP
public static final java.lang.String ON_KEYUP
- The javascript expression executed when an client event fires
ON_KEYDOWN
public static final java.lang.String ON_KEYDOWN
- The javascript expression executed when an client event fires
ON_CLICK
public static final java.lang.String ON_CLICK
- The javascript expression executed when an client event fires
UIFormComboBox
public UIFormComboBox(java.lang.String name,
java.lang.String bindingExpression,
java.lang.String value)
UIFormComboBox
public UIFormComboBox(java.lang.String name,
java.lang.String bindingExpression,
java.util.List<org.exoplatform.webui.core.model.SelectItemOption<java.lang.String>> options)
UIFormComboBox
public UIFormComboBox(java.lang.String name,
java.lang.String bindingExpression,
java.util.List<org.exoplatform.webui.core.model.SelectItemOption<java.lang.String>> options,
java.util.Map<java.lang.String,java.lang.String> jsActions)
UIFormComboBox
public UIFormComboBox(java.lang.String name,
java.lang.String value)
setJsActions
public void setJsActions(java.util.Map<java.lang.String,java.lang.String> jsActions)
getJsActions
public java.util.Map<java.lang.String,java.lang.String> getJsActions()
addJsActions
public void addJsActions(java.lang.String action,
java.lang.String javaScript)
setOptions
public final UIFormComboBox setOptions(java.util.List<org.exoplatform.webui.core.model.SelectItemOption<java.lang.String>> options)
decode
public void decode(java.lang.Object input,
org.exoplatform.webui.application.WebuiRequestContext context)
throws java.lang.Exception
- Specified by:
decode in class org.exoplatform.webui.form.UIFormInputBase<java.lang.String>
- Throws:
java.lang.Exception
setOnChange
public void setOnChange(java.lang.String onchange)
renderOnChangeEvent
protected java.lang.String renderOnChangeEvent(org.exoplatform.webui.form.UIForm uiForm)
throws java.lang.Exception
- Throws:
java.lang.Exception
getUIform
public org.exoplatform.webui.form.UIForm getUIform()
processRender
public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
throws java.lang.Exception
- Overrides:
processRender in class org.exoplatform.webui.core.UIComponent
- Throws:
java.lang.Exception
Copyright © 2012 eXo Platform SAS. All Rights Reserved.