org.exoplatform.calendar.webui
Class UIMiniCalendar

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.UICalendarView
                  extended by org.exoplatform.calendar.webui.UIMiniCalendar
All Implemented Interfaces:
CalendarView

public class UIMiniCalendar
extends UICalendarView

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 UIMiniCalendar.MoveNextActionListener
           
static class UIMiniCalendar.MovePreviousActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.calendar.webui.UICalendarView
UICalendarView.AddCategoryActionListener, UICalendarView.AddEventActionListener, UICalendarView.ChangeCategoryActionListener, UICalendarView.DeleteActionListener, UICalendarView.DeleteEventActionListener, UICalendarView.EditActionListener, UICalendarView.EventSelectActionListener, UICalendarView.ExportEventActionListener, UICalendarView.GotoDateActionListener, UICalendarView.MoveEventActionListener, UICalendarView.QuickAddActionListener, UICalendarView.SwitchViewActionListener, UICalendarView.TaskViewActionListener, UICalendarView.ViewActionListener
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
 
Fields inherited from class org.exoplatform.calendar.webui.UICalendarView
ACT_ADDNEW_EVENT, ACT_ADDNEW_TASK, ACT_DELETE, ACT_EDIT, ACT_NEXT, ACT_PREVIOUS, ACT_VIEW, calendar_, CALENDARID, calendarSetting_, CALNAME, CALTYPE, CONTEXT_MENU, DAY, dfs_, displayTimes_, EVENT_CATEGORIES, EVENTID, instanceTempCalendar_, isShowEvent_, MONTH, monthsName_, privateCalendarIds, publicCalendarIds, QUICKEDIT_MENU, timeSteps_, TYPE_BOTH, TYPE_DAY, TYPE_EVENT, TYPE_MONTH, TYPE_TASK, TYPE_WEEK, TYPE_YEAR, YEAR
 
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
UIMiniCalendar()
           
 
Method Summary
 java.util.Calendar getBeginDateOfMonth()
           
 java.util.Calendar getBeginDateOfMonthView()
           
 java.util.LinkedHashMap<java.lang.String,CalendarEvent> getDataMap()
           
 java.util.Calendar getEndDateOfMonth()
           
 java.util.Calendar getEndDateOfMonthView()
           
 java.lang.String getSelectedCategory()
           
protected  int getWeeksOfTheMonth(int year, int month, int day)
           
 void refresh()
           
 void setCategoryId(java.lang.String categoryId)
           
 void updateMiniCal()
           
 
Methods inherited from class org.exoplatform.calendar.webui.UICalendarView
applySeting, getBeginDay, getCalendarSetting, getColors, getContextMenu, getCurrentCalendar, getCurrentDate, getCurrentDay, getCurrentMonth, getCurrentWeek, getCurrentYear, getDateByValue, getDateFormat, getDateTimeFormat, getDayName, getDayOfWeek, getDaysInMonth, getDaysInMonth, getDaysName, getDefaultTimeInterval, getDisplayTimes, getDisplayTimes, getEndDay, getEndTime, getFilterCalendarIds, getInstanceTempCalendar, getLabel, getLastUpdatedEventId, getList, getMonthName, getMonthsName, getPriority, getPrivateCalendars, getPublicCalendars, getPublicCalendars, getQuickEditMenu, getSelectedEvents, getSession, getSharedCalendars, getStartTime, getSystemSession, getTimeFormat, getTimeInterval, getTimeSteps, getViews, getViewType, gotoDate, initCategories, isCurrentDay, isCurrentMonth, isCurrentWeek, isSameDate, isSameDate, isShowWorkingTime, keyGen, moveCalendarTo, moveEvents, processRender, removeEvents, renderDayViewInTitleBar, setCalendarSetting, setCurrentCalendar, setCurrentDate, setCurrentDay, setCurrentMonth, setCurrentWeek, setCurrentYear, setLastUpdatedEventId, setSelectedCategory, setViewType, update
 
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, 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
 

Constructor Detail

UIMiniCalendar

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

updateMiniCal

public void updateMiniCal()
                   throws java.lang.Exception
Throws:
java.lang.Exception

getWeeksOfTheMonth

protected int getWeeksOfTheMonth(int year,
                                 int month,
                                 int day)

getDataMap

public java.util.LinkedHashMap<java.lang.String,CalendarEvent> getDataMap()

getBeginDateOfMonthView

public java.util.Calendar getBeginDateOfMonthView()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

getEndDateOfMonthView

public java.util.Calendar getEndDateOfMonthView()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

getBeginDateOfMonth

public java.util.Calendar getBeginDateOfMonth()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getEndDateOfMonth

public java.util.Calendar getEndDateOfMonth()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

setCategoryId

public void setCategoryId(java.lang.String categoryId)

getSelectedCategory

public java.lang.String getSelectedCategory()
Overrides:
getSelectedCategory in class UICalendarView

refresh

public void refresh()
             throws java.lang.Exception
Specified by:
refresh in interface CalendarView
Overrides:
refresh in class UICalendarView
Throws:
java.lang.Exception


Copyright © 2010 eXo Platform SAS. All Rights Reserved.