org.exoplatform.forum.webui.popup
Class UIPollForm

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.forum.webui.popup.UIPollForm
All Implemented Interfaces:
UIPopupComponent

public class UIPollForm
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 UIPollForm.CancelActionListener
           
static class UIPollForm.RefreshActionListener
           
static class UIPollForm.SaveActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String FIELD_AGAINVOTE_CHECKBOX
           
static java.lang.String FIELD_MULTIVOTE_CHECKBOX
           
static java.lang.String FIELD_OPTIONS
           
static java.lang.String FIELD_QUESTION_INPUT
           
static java.lang.String FIELD_TIMEOUT_INPUT
           
static int MAX_TITLE
           
 
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
UIPollForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
 void setTopicPath(java.lang.String topicPath)
           
 void setUpdatePoll(Poll poll, boolean isUpdate)
           
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, 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_QUESTION_INPUT

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

FIELD_OPTIONS

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

FIELD_TIMEOUT_INPUT

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

FIELD_AGAINVOTE_CHECKBOX

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

FIELD_MULTIVOTE_CHECKBOX

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

MAX_TITLE

public static final int MAX_TITLE
See Also:
Constant Field Values
Constructor Detail

UIPollForm

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

setTopicPath

public void setTopicPath(java.lang.String topicPath)

setUpdatePoll

public void setUpdatePoll(Poll poll,
                          boolean isUpdate)
                   throws java.lang.Exception
Throws:
java.lang.Exception

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


Copyright © 2012 eXo Platform SAS. All Rights Reserved.