org.exoplatform.calendar.webui.popup
Class UICalendarSettingForm

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.webui.form.UIFormTabPane
                  extended by org.exoplatform.calendar.webui.popup.UICalendarSettingForm
All Implemented Interfaces:
UIPopupComponent

public class UICalendarSettingForm
extends org.exoplatform.webui.form.UIFormTabPane
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 UICalendarSettingForm.CancelActionListener
           
static class UICalendarSettingForm.ChangeLocaleActionListener
           
static class UICalendarSettingForm.SaveActionListener
           
static class UICalendarSettingForm.SelectTabActionListener
           
static class UICalendarSettingForm.ShowAllTimeZoneActionListener
           
 
Field Summary
 java.lang.String[] sharedCalendarColors_
           
 
Fields inherited from class org.exoplatform.webui.form.UIFormTabPane
name_, RENDER_TAB
 
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
UICalendarSettingForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
 java.lang.String[] getActions()
           
 java.util.Map<java.lang.String,java.lang.String> getChildIds()
           
 java.lang.String getLabel(java.util.ResourceBundle res, java.lang.String id)
           
 java.lang.String getLabel(java.lang.String id)
           
protected  java.util.List<Calendar> getPrivateCalendars(CalendarService calendarService, java.lang.String username)
           
protected  java.util.List<Calendar> getPublicCalendars(CalendarService calendarService, java.lang.String username)
           
protected  java.util.List<Calendar> getSharedCalendars(CalendarService calendarService, java.lang.String username)
           
protected  java.util.List<java.lang.String> getUnCheckedList(java.util.List<Calendar> calendars)
           
 void init(CalendarSetting calendarSetting, CalendarService cservice)
           
 
Methods inherited from class org.exoplatform.webui.form.UIFormTabPane
getName, getSelectedTabId, hasInfoBar, hasRenderResourceTabName, makeSelectTabURL, processDecode, setInfoBar, setRenderResourceTabName, setSelectedTab, setSelectedTab
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, 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, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, 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

sharedCalendarColors_

public java.lang.String[] sharedCalendarColors_
Constructor Detail

UICalendarSettingForm

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

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

getChildIds

public java.util.Map<java.lang.String,java.lang.String> getChildIds()

init

public void init(CalendarSetting calendarSetting,
                 CalendarService cservice)
          throws java.lang.Exception
Throws:
java.lang.Exception

getPrivateCalendars

protected java.util.List<Calendar> getPrivateCalendars(CalendarService calendarService,
                                                       java.lang.String username)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

getPublicCalendars

protected java.util.List<Calendar> getPublicCalendars(CalendarService calendarService,
                                                      java.lang.String username)
                                               throws java.lang.Exception
Throws:
java.lang.Exception

getSharedCalendars

protected java.util.List<Calendar> getSharedCalendars(CalendarService calendarService,
                                                      java.lang.String username)
                                               throws java.lang.Exception
Throws:
java.lang.Exception

getLabel

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

getLabel

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

getUnCheckedList

protected java.util.List<java.lang.String> getUnCheckedList(java.util.List<Calendar> calendars)

getActions

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


Copyright © 2011 eXo Platform SAS. All Rights Reserved.