org.exoplatform.contact.webui
Class UIFormColorPicker
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIFormInputBase<java.lang.String>
org.exoplatform.contact.webui.UIFormColorPicker
- All Implemented Interfaces:
- org.exoplatform.webui.form.UIFormInput<java.lang.String>
public class UIFormColorPicker
- extends org.exoplatform.webui.form.UIFormInputBase<java.lang.String>
Created by The eXo Platform SAS
Author : Pham Tuan
tuan.pham@exoplatform.com
Feb 29, 2008
| 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 |
| 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 |
|
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()
|
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)
|
org.exoplatform.webui.form.UIFormInput |
setValue(java.lang.String arg0)
|
| 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 |
| 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 |
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
UIFormColorPicker
public UIFormColorPicker(java.lang.String name,
java.lang.String bindingExpression,
java.lang.String value)
UIFormColorPicker
public UIFormColorPicker(java.lang.String name,
java.lang.String bindingExpression,
Colors.Color[] colors)
UIFormColorPicker
public UIFormColorPicker(java.lang.String name,
java.lang.String bindingExpression,
Colors.Color[] colors,
java.util.Map<java.lang.String,java.lang.String> jsActions)
UIFormColorPicker
public UIFormColorPicker(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)
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
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
setValue
public org.exoplatform.webui.form.UIFormInput setValue(java.lang.String arg0)
- Specified by:
setValue in interface org.exoplatform.webui.form.UIFormInput<java.lang.String>- Overrides:
setValue in class org.exoplatform.webui.form.UIFormInputBase<java.lang.String>
Copyright © 2012 eXo Platform SAS. All Rights Reserved.