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.AddActionListener
           
static class UICalendarSettingForm.CancelActionListener
           
static class UICalendarSettingForm.ChangeLocaleActionListener
           
static class UICalendarSettingForm.SaveActionListener
           
static class UICalendarSettingForm.SelectTabActionListener
           
static class UICalendarSettingForm.ShowAllTimeZoneActionListener
           
 
Field Summary
 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
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UICalendarSettingForm()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
 String[] getActions()
           
 Map<String,String> getChildIds()
           
 String getLabel(ResourceBundle res, String id)
           
 String getLabel(String id)
           
protected  List<org.exoplatform.calendar.service.Calendar> getPrivateCalendars(org.exoplatform.calendar.service.CalendarService calendarService, String username)
           
protected  List<org.exoplatform.calendar.service.Calendar> getPublicCalendars(org.exoplatform.calendar.service.CalendarService calendarService, String username)
           
protected  List<org.exoplatform.calendar.service.Calendar> getSharedCalendars(org.exoplatform.calendar.service.CalendarService calendarService, String username)
           
protected  List<String> getUnCheckedList(List<org.exoplatform.calendar.service.Calendar> calendars)
           
 void init(org.exoplatform.calendar.service.CalendarSetting calendarSetting, org.exoplatform.calendar.service.CalendarService cservice)
           
 
Methods inherited from class org.exoplatform.webui.form.UIFormTabPane
getName, getSelectedTabId, hasInfoBar, hasRenderResourceTabName, processDecode, setInfoBar, setRenderResourceTabName, setSelectedTab, setSelectedTab
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getSubmitAction, getUICheckBoxInput, 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, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sharedCalendarColors_

public String[] sharedCalendarColors_
Constructor Detail

UICalendarSettingForm

public UICalendarSettingForm()
                      throws Exception
Throws:
Exception
Method Detail

activate

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

deActivate

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

getChildIds

public Map<String,String> getChildIds()

init

public void init(org.exoplatform.calendar.service.CalendarSetting calendarSetting,
                 org.exoplatform.calendar.service.CalendarService cservice)
          throws Exception
Throws:
Exception

getPrivateCalendars

protected List<org.exoplatform.calendar.service.Calendar> getPrivateCalendars(org.exoplatform.calendar.service.CalendarService calendarService,
                                                                              String username)
                                                                       throws Exception
Throws:
Exception

getPublicCalendars

protected List<org.exoplatform.calendar.service.Calendar> getPublicCalendars(org.exoplatform.calendar.service.CalendarService calendarService,
                                                                             String username)
                                                                      throws Exception
Throws:
Exception

getSharedCalendars

protected List<org.exoplatform.calendar.service.Calendar> getSharedCalendars(org.exoplatform.calendar.service.CalendarService calendarService,
                                                                             String username)
                                                                      throws Exception
Throws:
Exception

getLabel

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

getLabel

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

getUnCheckedList

protected List<String> getUnCheckedList(List<org.exoplatform.calendar.service.Calendar> calendars)

getActions

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


Copyright © 2013 eXo Platform SAS. All Rights Reserved.