org.exoplatform.calendar.webui.popup
Class UIQuickAddEvent

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

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

Created by The eXo Platform SARL Author : Pham Tuan tuan.pham@exoplatform.com Aug 29, 2007


Nested Class Summary
static class UIQuickAddEvent.CancelActionListener
           
static class UIQuickAddEvent.MoreDetailActionListener
           
static class UIQuickAddEvent.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_ALLDAY
           
static java.lang.String FIELD_CALENDAR
           
static java.lang.String FIELD_CATEGORY
           
static java.lang.String FIELD_DESCRIPTION
           
static java.lang.String FIELD_EVENT
           
static java.lang.String FIELD_FROM
           
static java.lang.String FIELD_FROM_TIME
           
static java.lang.String FIELD_TO
           
static java.lang.String FIELD_TO_TIME
           
static java.lang.String UIQUICKADDTASK
           
 
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
UIQuickAddEvent()
           
 
Method Summary
 void activate()
           
 boolean canEdit(java.lang.String[] savePerms)
           
 void deActivate()
           
 java.util.List<org.exoplatform.webui.core.model.SelectItem> getCalendars()
           
 java.lang.String getLabel(java.lang.String id)
           
 UIFormComboBox getUIFormCombobox(java.lang.String name)
           
 org.exoplatform.webui.form.UIFormSelectBoxWithGroups getUIFormSelectBoxGroup(java.lang.String id)
           
 void init(CalendarSetting calendarSetting, java.lang.String startTime, java.lang.String endTime)
           
 boolean isEvent()
           
 void setEvent(boolean isEvent)
           
 void setIsAllday(boolean isChecked)
           
 void setSelectedCalendar(java.lang.String value)
           
 void setSelectedCategory(java.lang.String value)
           
 void update(java.lang.String calType, java.util.List<org.exoplatform.webui.core.model.SelectItem> options)
           
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, 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_EVENT

public static final java.lang.String FIELD_EVENT

FIELD_CALENDAR

public static final java.lang.String FIELD_CALENDAR

FIELD_CATEGORY

public static final java.lang.String FIELD_CATEGORY

FIELD_FROM

public static final java.lang.String FIELD_FROM

FIELD_TO

public static final java.lang.String FIELD_TO

FIELD_FROM_TIME

public static final java.lang.String FIELD_FROM_TIME

FIELD_TO_TIME

public static final java.lang.String FIELD_TO_TIME

FIELD_ALLDAY

public static final java.lang.String FIELD_ALLDAY

FIELD_DESCRIPTION

public static final java.lang.String FIELD_DESCRIPTION

UIQUICKADDTASK

public static final java.lang.String UIQUICKADDTASK
Constructor Detail

UIQuickAddEvent

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

getUIFormCombobox

public UIFormComboBox getUIFormCombobox(java.lang.String name)

init

public void init(CalendarSetting calendarSetting,
                 java.lang.String startTime,
                 java.lang.String endTime)
          throws java.lang.Exception
Throws:
java.lang.Exception

getCalendars

public java.util.List<org.exoplatform.webui.core.model.SelectItem> getCalendars()
                                                                         throws java.lang.Exception
Throws:
java.lang.Exception

getLabel

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

setIsAllday

public void setIsAllday(boolean isChecked)

setSelectedCalendar

public void setSelectedCalendar(java.lang.String value)

getUIFormSelectBoxGroup

public org.exoplatform.webui.form.UIFormSelectBoxWithGroups getUIFormSelectBoxGroup(java.lang.String id)

setSelectedCategory

public void setSelectedCategory(java.lang.String value)

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

setEvent

public void setEvent(boolean isEvent)

isEvent

public boolean isEvent()

update

public void update(java.lang.String calType,
                   java.util.List<org.exoplatform.webui.core.model.SelectItem> options)
            throws java.lang.Exception
Throws:
java.lang.Exception

canEdit

public boolean canEdit(java.lang.String[] savePerms)
                throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2011 eXo Platform SAS. All Rights Reserved.