org.exoplatform.contact.webui.popup
Class UITagForm

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIForm
              extended by org.exoplatform.contact.webui.popup.UITagForm
All Implemented Interfaces:
UIPopupComponent

public class UITagForm
extends org.exoplatform.webui.form.UIForm
implements UIPopupComponent

Created by The eXo Platform SARL Author : Hung Nguyen hung.nguyen@exoplatform.com Aus 01, 2007 2:48:18 PM


Nested Class Summary
static class UITagForm.AddActionListener
           
static class UITagForm.CancelActionListener
           
static class UITagForm.RemoveActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String FIELD_COLOR
           
static java.lang.String FIELD_TAGNAME_INPUT
           
static java.lang.String NO_TAG_INFO
           
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UITagForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
 java.lang.String[] getActions()
           
 java.util.List<java.lang.String> getCheckedTags()
           
 java.util.List<Contact> getContacts()
           
 java.lang.String getLabel(java.lang.String id)
           
protected  java.lang.String getSelectedColor()
           
 void setContacts(java.util.List<Contact> contacts)
           
protected  void setSelectedColor(java.lang.String value)
           
 void setValues(java.lang.String tagName)
           
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getLabel, getSubmitAction, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, url
 
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, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_TAGNAME_INPUT

public static final java.lang.String FIELD_TAGNAME_INPUT
See Also:
Constant Field Values

NO_TAG_INFO

public static final java.lang.String NO_TAG_INFO
See Also:
Constant Field Values

FIELD_COLOR

public static final java.lang.String FIELD_COLOR
See Also:
Constant Field Values
Constructor Detail

UITagForm

public UITagForm()
          throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

setContacts

public void setContacts(java.util.List<Contact> contacts)

getContacts

public java.util.List<Contact> getContacts()

setValues

public void setValues(java.lang.String tagName)
               throws java.lang.Exception
Throws:
java.lang.Exception

getActions

public java.lang.String[] getActions()
Overrides:
getActions in class org.exoplatform.webui.form.UIForm

activate

public void activate()
              throws java.lang.Exception
Specified by:
activate in interface UIPopupComponent
Throws:
java.lang.Exception

deActivate

public void deActivate()
                throws java.lang.Exception
Specified by:
deActivate in interface UIPopupComponent
Throws:
java.lang.Exception

getLabel

public java.lang.String getLabel(java.lang.String id)
                          throws java.lang.Exception
Overrides:
getLabel in class org.exoplatform.webui.form.UIForm
Throws:
java.lang.Exception

getCheckedTags

public java.util.List<java.lang.String> getCheckedTags()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

getSelectedColor

protected java.lang.String getSelectedColor()

setSelectedColor

protected void setSelectedColor(java.lang.String value)


Copyright © 2010 eXo Platform SAS. All Rights Reserved.