Package org.exoplatform.webui.form.ext
Class UIFormColorPicker
- All Implemented Interfaces:
UIFormInput<String>
Created by The eXo Platform SAS Author : Pham Tuan tuan.pham@exoplatform.com Feb 29, 2008
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
UIContainer.SelectTabActionListener -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe javascript expression executed when an client event firesstatic final StringThe javascript expression executed when an client onChange event firesstatic final StringThe javascript expression executed when an client event firesstatic final StringThe javascript expression executed when an client event firesstatic final StringThe javascript expression executed when an client event firesstatic final StringThe javascript expression executed when an client event firesFields 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
ConstructorsConstructorDescriptionUIFormColorPicker(String name, String value) UIFormColorPicker(String name, String bindingExpression, String value) UIFormColorPicker(String name, String bindingExpression, UIFormColorPicker.Colors.Color[] colors) UIFormColorPicker(String name, String bindingExpression, UIFormColorPicker.Colors.Color[] colors, Map<String, String> jsActions) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddJsActions(String action, String javaScript) voiddecode(Object input, WebuiRequestContext context) protected UIFormvoidprocessRender(WebuiRequestContext context) protected StringrenderOnChangeEvent(UIForm uiForm) voidsetJsActions(Map<String, String> jsActions) voidsetOnChange(String onchange) 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, setReadOnlyMethods 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, setRenderedChildrenOfTypesMethods 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
-
Field Details
-
ON_CHANGE
The javascript expression executed when an client onChange event fires -
ON_BLUR
The javascript expression executed when an client event fires -
ON_FOCUS
The javascript expression executed when an client event fires -
ON_KEYUP
The javascript expression executed when an client event fires -
ON_KEYDOWN
The javascript expression executed when an client event fires -
ON_CLICK
The javascript expression executed when an client event fires
-
-
Constructor Details
-
UIFormColorPicker
-
UIFormColorPicker
public UIFormColorPicker(String name, String bindingExpression, UIFormColorPicker.Colors.Color[] colors) -
UIFormColorPicker
-
UIFormColorPicker
-
-
Method Details
-
setJsActions
-
getJsActions
-
addJsActions
-
decode
- Specified by:
decodein classUIFormInputBase<String>
-
setOnChange
-
renderOnChangeEvent
- Throws:
Exception
-
getUIform
-
processRender
- Overrides:
processRenderin classUIComponent- Throws:
Exception
-
setValue
- Specified by:
setValuein interfaceUIFormInput<String>- Overrides:
setValuein classUIFormInputBase<String>
-