org.exoplatform.calendar.webui
Class UIPreview

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.UIPreview
All Implemented Interfaces:
CalendarView, UIPopupComponent

public class UIPreview
extends UICalendarView
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 UIPreview.DownloadActionListener
           
 
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.MoveNextActionListener, UICalendarView.MovePreviousActionListener, 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
UIPreview()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
 Attachment getAttachment(java.lang.String attId)
           
 java.lang.String getDownloadLink(Attachment attach)
           
 CalendarEvent getEvent()
           
 java.lang.String getImageSource(Attachment attach)
           
 java.lang.String getPortalName()
           
 java.lang.String getRepository()
           
 java.lang.String getTemplate()
           
 boolean isShowPopup()
           
 void refresh()
           
 void setEvent(CalendarEvent event)
           
 void setShowPopup(boolean isShow)
           
 
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, getSelectedCategory, 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, 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

UIPreview

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

getTemplate

public java.lang.String getTemplate()
Overrides:
getTemplate in class org.exoplatform.webui.core.UIComponent

getEvent

public CalendarEvent getEvent()

setEvent

public void setEvent(CalendarEvent event)

refresh

public void refresh()
             throws java.lang.Exception
Specified by:
refresh in interface CalendarView
Overrides:
refresh in class UICalendarView
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

setShowPopup

public void setShowPopup(boolean isShow)

isShowPopup

public boolean isShowPopup()

getAttachment

public Attachment getAttachment(java.lang.String attId)

getDownloadLink

public java.lang.String getDownloadLink(Attachment attach)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getImageSource

public java.lang.String getImageSource(Attachment attach)
                                throws java.lang.Exception
Throws:
java.lang.Exception

getPortalName

public java.lang.String getPortalName()

getRepository

public java.lang.String getRepository()
                               throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2011 eXo Platform SAS. All Rights Reserved.