org.exoplatform.contact.webui.popup
Class UIFormMultiValueInputSet

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIFormInputContainer<java.util.List>
              extended by org.exoplatform.contact.webui.popup.UIFormMultiValueInputSet
All Implemented Interfaces:
org.exoplatform.webui.form.UIFormInput<java.util.List>

public class UIFormMultiValueInputSet
extends org.exoplatform.webui.form.UIFormInputContainer<java.util.List>

Author : Nhu Dinh Thuan nhudinhthuan@exoplatform.com Sep 14, 2006 Represents a multi value selector


Nested Class Summary
static class UIFormMultiValueInputSet.AddActionListener
           
static class UIFormMultiValueInputSet.RemoveActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
protected  java.util.List<org.exoplatform.webui.form.validator.Validator> validators
          A list of validators
 
Fields inherited from class org.exoplatform.webui.form.UIFormInputContainer
bindingField, name, value_
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIFormMultiValueInputSet()
           
UIFormMultiValueInputSet(java.lang.String name, java.lang.String bindingField)
           
 
Method Summary
 org.exoplatform.webui.form.UIFormInputBase createUIFormInput(int idx)
           
 java.lang.Class<java.util.List> getTypeValue()
           
 java.lang.Class<? extends org.exoplatform.webui.form.UIFormInput> getUIFormInputBase()
           
 java.util.List<?> getValue()
           
 void processDecode(org.exoplatform.webui.application.WebuiRequestContext context)
           
 void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
           
 void setType(java.lang.Class<? extends org.exoplatform.webui.form.UIFormInput> clazz)
           
 org.exoplatform.webui.form.UIFormInput setValue(java.util.List<?> values)
           
 
Methods inherited from class org.exoplatform.webui.form.UIFormInputContainer
addValidator, getBindingField, getLabel, getName, getValidators, isEmpty, reset, setBindingField, 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
 

Field Detail

validators

protected java.util.List<org.exoplatform.webui.form.validator.Validator> validators
A list of validators

Constructor Detail

UIFormMultiValueInputSet

public UIFormMultiValueInputSet()
                         throws java.lang.Exception
Throws:
java.lang.Exception

UIFormMultiValueInputSet

public UIFormMultiValueInputSet(java.lang.String name,
                                java.lang.String bindingField)
                         throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getTypeValue

public java.lang.Class<java.util.List> getTypeValue()

setType

public void setType(java.lang.Class<? extends org.exoplatform.webui.form.UIFormInput> clazz)

getUIFormInputBase

public java.lang.Class<? extends org.exoplatform.webui.form.UIFormInput> getUIFormInputBase()

getValue

public java.util.List<?> getValue()
Specified by:
getValue in interface org.exoplatform.webui.form.UIFormInput<java.util.List>
Overrides:
getValue in class org.exoplatform.webui.form.UIFormInputContainer<java.util.List>
Returns:
the selected items in the selector

setValue

public org.exoplatform.webui.form.UIFormInput setValue(java.util.List<?> values)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

processDecode

public void processDecode(org.exoplatform.webui.application.WebuiRequestContext context)
                   throws java.lang.Exception
Overrides:
processDecode in class org.exoplatform.webui.core.UIComponent
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

createUIFormInput

public org.exoplatform.webui.form.UIFormInputBase createUIFormInput(int idx)
                                                             throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2010 eXo Platform SAS. All Rights Reserved.