org.exoplatform.forum.webui
Class UIForumCheckBoxInput<T>

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIFormInputBase<T>
              extended by org.exoplatform.forum.webui.UIForumCheckBoxInput<T>
All Implemented Interfaces:
org.exoplatform.webui.form.UIFormInput<T>

public class UIForumCheckBoxInput<T>
extends org.exoplatform.webui.form.UIFormInputBase<T>

Created by The eXo Platform SAS Author : Vu Duy Tu tu.duy@exoplatform.com 24 Mar 2008, 08:00:59


Nested Class Summary
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
 
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
UIForumCheckBoxInput(java.lang.String name, java.lang.String bindingExpression, T value)
           
 
Method Summary
 void decode(java.lang.Object input, org.exoplatform.webui.application.WebuiRequestContext context)
           
 boolean isChecked()
           
 void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
           
 java.lang.String renderOnChangeEvent(org.exoplatform.webui.form.UIForm uiForm)
           
 UIForumCheckBoxInput setChecked(boolean check)
           
 void setComponentEvent(java.lang.String com)
           
 void setOnChange(java.lang.String onchange)
           
 void setOnChange(java.lang.String event, java.lang.String com)
           
 org.exoplatform.webui.form.UIFormInput setValue(T value)
           
 
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
 

Constructor Detail

UIForumCheckBoxInput

public UIForumCheckBoxInput(java.lang.String name,
                            java.lang.String bindingExpression,
                            T value)
Method Detail

setValue

public org.exoplatform.webui.form.UIFormInput setValue(T value)
Specified by:
setValue in interface org.exoplatform.webui.form.UIFormInput<T>
Overrides:
setValue in class org.exoplatform.webui.form.UIFormInputBase<T>

setOnChange

public void setOnChange(java.lang.String onchange)

setComponentEvent

public void setComponentEvent(java.lang.String com)

setOnChange

public void setOnChange(java.lang.String event,
                        java.lang.String com)

renderOnChangeEvent

public java.lang.String renderOnChangeEvent(org.exoplatform.webui.form.UIForm uiForm)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

isChecked

public final boolean isChecked()

setChecked

public final UIForumCheckBoxInput setChecked(boolean check)

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<T>
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


Copyright © 2010 eXo Platform SAS. All Rights Reserved.