|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIForm
org.exoplatform.calendar.webui.UICalendarView
org.exoplatform.calendar.webui.UIPreview
public class UIPreview
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.CloseWindowActionListener
|
static class |
UIPreview.DownloadActionListener
|
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
|---|
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Field Summary | |
|---|---|
static boolean |
isClosed
|
| 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, FINISH_TIME, instanceTempCalendar_, ISOCCUR, isShowEvent_, MONTH, monthsName_, privateCalendarIds, publicCalendarIds, QUICKEDIT_MENU, RECURID, recurrenceEventsMap, START_TIME, timeSteps_, TYPE_BOTH, TYPE_DAY, TYPE_EVENT, TYPE_MONTH, TYPE_NONE, 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 |
|---|
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Constructor Summary | |
|---|---|
UIPreview()
|
|
| Method Summary | |
|---|---|
void |
activate()
|
void |
deActivate()
|
org.exoplatform.calendar.service.Attachment |
getAttachment(String attId)
|
String |
getDefaultStartTimeOfEvent()
The returned value of this function is used to initialize start time for event form which is rendered when user click "add event" or "add task" |
String |
getDownloadLink(org.exoplatform.calendar.service.Attachment attach)
|
org.exoplatform.calendar.service.CalendarEvent |
getEvent()
|
String |
getImageSource(org.exoplatform.calendar.service.Attachment attach)
|
String |
getPortalName()
|
String |
getRepository()
|
String |
getTemplate()
|
boolean |
isShowPopup()
|
void |
refresh()
|
void |
setEvent(org.exoplatform.calendar.service.CalendarEvent event)
|
void |
setShowPopup(boolean isShow)
|
| Methods inherited from class org.exoplatform.webui.form.UIForm |
|---|
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getSubmitAction, getUICheckBoxInput, 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, 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, getName, getParent, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, 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 |
|---|
public static boolean isClosed
| Constructor Detail |
|---|
public UIPreview()
throws Exception
Exception| Method Detail |
|---|
public String getTemplate()
getTemplate in class org.exoplatform.webui.core.UIComponentpublic org.exoplatform.calendar.service.CalendarEvent getEvent()
public void setEvent(org.exoplatform.calendar.service.CalendarEvent event)
public void refresh()
throws Exception
refresh in interface CalendarViewrefresh in class UICalendarViewException
public void activate()
throws Exception
activate in interface UIPopupComponentException
public void deActivate()
throws Exception
deActivate in interface UIPopupComponentExceptionpublic void setShowPopup(boolean isShow)
public boolean isShowPopup()
public org.exoplatform.calendar.service.Attachment getAttachment(String attId)
public String getDownloadLink(org.exoplatform.calendar.service.Attachment attach)
throws Exception
Exception
public String getImageSource(org.exoplatform.calendar.service.Attachment attach)
throws Exception
Exceptionpublic String getPortalName()
public String getRepository()
throws Exception
Exceptionpublic String getDefaultStartTimeOfEvent()
UICalendarView
getDefaultStartTimeOfEvent in class UICalendarView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||