Package org.daypilot.ui
Class DayPilotCalendar
- java.lang.Object
-
- org.daypilot.ui.DayPilotCalendar
-
public class DayPilotCalendar extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DayPilotCalendar()
-
Method Summary
Modifier and Type Method Description JSONObject
callback(JSONObject input)
java.lang.String
getBackColor()
int
getBusinessBeginsHour()
int
getBusinessEndsHour()
int
getCellDuration()
JSONObject
getClientState()
ColumnCollection
getColumns()
java.lang.String
getCssClassPrefix()
java.lang.String
getDataAllDayField()
java.lang.String
getDataEndField()
java.lang.String
getDataRecurrenceField()
java.lang.String
getDataResourceField()
java.lang.String
getDataStartField()
java.lang.String
getDataTagFields()
protected java.lang.String[]
getDataTagFieldsSplit()
java.lang.String
getDataTextField()
java.lang.String
getDataValueField()
int
getDayBeginsHour()
int
getDayEndsHour()
int
getDays()
java.util.Collection
getEvents()
java.lang.String
getEventSortExpression()
DayOfWeek
getFirstDayOfWeek()
java.lang.String
getHeaderDateFormat()
int
getHeaderLevels()
HeightSpec
getHeightSpec()
java.lang.String
getHourFontColor()
java.lang.String
getHourFontFamily()
java.lang.String
getHourFontSize()
java.lang.String
getId()
java.util.Locale
getLocale()
java.lang.String
getNonBusinessBackColor()
javax.servlet.http.HttpServletRequest
getRequest()
protected DayOfWeek
getResolvedWeekStart()
javax.servlet.http.HttpServletResponse
getResponse()
java.lang.String
getSelectedEventValue()
DateTime
getStartDate()
TimeFormat
getTimeFormat()
int
getTimeHeaderCellDuration()
UpdateType
getUpdateType()
ViewType
getViewType()
DateTime
getVisibleEnd()
DateTime
getVisibleStart()
WeekStarts
getWeekStarts()
boolean
isCssOnly()
boolean
isEventHeaderVisible()
boolean
isUseUtcDates()
void
onBeforeCellRender(BeforeCellRenderArgs ea)
void
onBeforeEventRecurrence(BeforeEventRecurrenceArgs ea)
void
onBeforeEventRender(BeforeEventRenderArgs ea)
void
onBeforeHeaderRender(BeforeHeaderRenderArgs ea)
void
onBeforeTimeHeaderRender(BeforeTimeHeaderRenderArgs ea)
void
onCommand(CommandArgs ea)
void
onEventBubble(EventBubbleArgs ea)
void
onEventClick(EventClickArgs ea)
void
onEventDelete(EventDeleteArgs ea)
void
onEventDoubleClick(EventDoubleClickArgs ea)
void
onEventEdit(EventEditArgs ea)
void
onEventMenuClick(EventMenuClickArgs ea)
void
onEventMove(EventMoveArgs ea)
void
onEventResize(EventResizeArgs ea)
void
onEventRightClick(EventRightClickArgs ea)
void
onEventSelect(EventSelectArgs ea)
void
onFinish()
void
onHeaderClick(HeaderClickArgs ea)
void
onInit()
void
onNotify(NotifyArgs ea)
void
onPrepare()
void
onTimeRangeDoubleClick(TimeRangeDoubleClickArgs ea)
void
onTimeRangeMenuClick(TimeRangeMenuClick ea)
void
onTimeRangeSelected(TimeRangeSelectedArgs ea)
void
process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
setBackColor(java.lang.String backColor)
void
setBusinessBeginsHour(int businessBeginsHour)
void
setBusinessEndsHour(int businessEndsHour)
void
setCellDuration(int cellDuration)
void
setClientState(JSONObject clientState)
void
setCssClassPrefix(java.lang.String cssClassPrefix)
void
setCssOnly(boolean cssOnly)
void
setDataAllDayField(java.lang.String dataAllDayField)
void
setDataEndField(java.lang.String dataEndField)
void
setDataRecurrenceField(java.lang.String dataRecurrenceField)
void
setDataResourceField(java.lang.String dataResourceField)
void
setDataStartField(java.lang.String dataStartField)
void
setDataTagFields(java.lang.String dataTagFields)
void
setDataTextField(java.lang.String dataTextField)
void
setDataValueField(java.lang.String dataValueField)
void
setDayBeginsHour(int dayBeginsHour)
void
setDayEndsHour(int dayEndsHour)
void
setDays(int days)
void
setEventHeaderVisible(boolean eventHeaderVisible)
void
setEvents(java.util.Collection<?> events)
void
setEventSortExpression(java.lang.String eventSortExpression)
void
setHeaderDateFormat(java.lang.String headerDateFormat)
void
setHeaderLevels(int headerLevels)
void
setHeightSpec(HeightSpec heightSpec)
void
setHourFontColor(java.lang.String hourFontColor)
void
setHourFontFamily(java.lang.String hourFontFamily)
void
setHourFontSize(java.lang.String hourFontSize)
void
setLocale(java.util.Locale locale)
void
setNonBusinessBackColor(java.lang.String nonBusinessBackColor)
void
setStartDate(DateTime startDate)
void
setTimeFormat(TimeFormat timeFormat)
void
setTimeHeaderCellDuration(int timeHeaderCellDuration)
void
setUpdateType(UpdateType updateType)
void
setUseUtcDates(boolean useUtcDates)
void
setViewType(ViewType viewType)
void
setWeekStarts(WeekStarts weekStarts)
void
update()
Updates the client (using CallBackUpdateType.EVENTS_ONLY).void
update(UpdateType updateType)
void
updateWithMessage(java.lang.String message, UpdateType type)
-
-
-
Method Detail
-
callback
public JSONObject callback(JSONObject input)
-
process
public void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
getDataTagFieldsSplit
protected java.lang.String[] getDataTagFieldsSplit()
-
getDataValueField
public java.lang.String getDataValueField()
-
setDataValueField
public void setDataValueField(java.lang.String dataValueField)
-
getDataTextField
public java.lang.String getDataTextField()
-
setDataTextField
public void setDataTextField(java.lang.String dataTextField)
-
getDataStartField
public java.lang.String getDataStartField()
-
setDataStartField
public void setDataStartField(java.lang.String dataStartField)
-
getDataEndField
public java.lang.String getDataEndField()
-
setDataEndField
public void setDataEndField(java.lang.String dataEndField)
-
getDataResourceField
public java.lang.String getDataResourceField()
-
setDataResourceField
public void setDataResourceField(java.lang.String dataResourceField)
-
getEvents
public java.util.Collection getEvents()
-
setEvents
public void setEvents(java.util.Collection<?> events)
-
update
public void update(UpdateType updateType)
-
update
public void update()
Updates the client (using CallBackUpdateType.EVENTS_ONLY).
-
updateWithMessage
public void updateWithMessage(java.lang.String message, UpdateType type)
-
getRequest
public javax.servlet.http.HttpServletRequest getRequest()
-
getResponse
public javax.servlet.http.HttpServletResponse getResponse()
-
getUpdateType
public UpdateType getUpdateType()
-
setUpdateType
public void setUpdateType(UpdateType updateType)
-
onInit
public void onInit() throws java.lang.Exception
- Throws:
java.lang.Exception
-
onEventBubble
public void onEventBubble(EventBubbleArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onEventDoubleClick
public void onEventDoubleClick(EventDoubleClickArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onTimeRangeMenuClick
public void onTimeRangeMenuClick(TimeRangeMenuClick ea)
-
onHeaderClick
public void onHeaderClick(HeaderClickArgs ea)
-
onEventSelect
public void onEventSelect(EventSelectArgs ea)
-
onEventMenuClick
public void onEventMenuClick(EventMenuClickArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onTimeRangeDoubleClick
public void onTimeRangeDoubleClick(TimeRangeDoubleClickArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onEventRightClick
public void onEventRightClick(EventRightClickArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onEventEdit
public void onEventEdit(EventEditArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onEventClick
public void onEventClick(EventClickArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onEventDelete
public void onEventDelete(EventDeleteArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onBeforeHeaderRender
public void onBeforeHeaderRender(BeforeHeaderRenderArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onBeforeTimeHeaderRender
public void onBeforeTimeHeaderRender(BeforeTimeHeaderRenderArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onEventMove
public void onEventMove(EventMoveArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onEventResize
public void onEventResize(EventResizeArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onCommand
public void onCommand(CommandArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onNotify
public void onNotify(NotifyArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onTimeRangeSelected
public void onTimeRangeSelected(TimeRangeSelectedArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onBeforeEventRender
public void onBeforeEventRender(BeforeEventRenderArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onBeforeEventRecurrence
public void onBeforeEventRecurrence(BeforeEventRecurrenceArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onBeforeCellRender
public void onBeforeCellRender(BeforeCellRenderArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onFinish
public void onFinish() throws java.lang.Exception
- Throws:
java.lang.Exception
-
onPrepare
public void onPrepare() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getVisibleStart
public DateTime getVisibleStart()
-
getVisibleEnd
public DateTime getVisibleEnd()
-
getStartDate
public DateTime getStartDate()
-
setStartDate
public void setStartDate(DateTime startDate)
-
getDays
public int getDays()
-
setDays
public void setDays(int days)
-
getCellDuration
public int getCellDuration()
-
setCellDuration
public void setCellDuration(int cellDuration)
-
getHeightSpec
public HeightSpec getHeightSpec()
-
setHeightSpec
public void setHeightSpec(HeightSpec heightSpec)
-
getBusinessBeginsHour
public int getBusinessBeginsHour()
-
setBusinessBeginsHour
public void setBusinessBeginsHour(int businessBeginsHour)
-
getBusinessEndsHour
public int getBusinessEndsHour()
-
setBusinessEndsHour
public void setBusinessEndsHour(int businessEndsHour)
-
getViewType
public ViewType getViewType()
-
setViewType
public void setViewType(ViewType viewType)
-
getDayBeginsHour
public int getDayBeginsHour()
-
setDayBeginsHour
public void setDayBeginsHour(int dayBeginsHour)
-
getHeaderLevels
public int getHeaderLevels()
-
setHeaderLevels
public void setHeaderLevels(int headerLevels)
-
getBackColor
public java.lang.String getBackColor()
-
setBackColor
public void setBackColor(java.lang.String backColor)
-
getNonBusinessBackColor
public java.lang.String getNonBusinessBackColor()
-
setNonBusinessBackColor
public void setNonBusinessBackColor(java.lang.String nonBusinessBackColor)
-
getColumns
public ColumnCollection getColumns()
-
getHeaderDateFormat
public java.lang.String getHeaderDateFormat()
-
setHeaderDateFormat
public void setHeaderDateFormat(java.lang.String headerDateFormat)
-
getLocale
public java.util.Locale getLocale()
-
setLocale
public void setLocale(java.util.Locale locale)
-
getSelectedEventValue
public java.lang.String getSelectedEventValue()
-
getDataTagFields
public java.lang.String getDataTagFields()
-
setDataTagFields
public void setDataTagFields(java.lang.String dataTagFields)
-
getDataAllDayField
public java.lang.String getDataAllDayField()
-
setDataAllDayField
public void setDataAllDayField(java.lang.String dataAllDayField)
-
getId
public java.lang.String getId()
-
getFirstDayOfWeek
public DayOfWeek getFirstDayOfWeek()
-
isEventHeaderVisible
public boolean isEventHeaderVisible()
-
setEventHeaderVisible
public void setEventHeaderVisible(boolean eventHeaderVisible)
-
getTimeFormat
public TimeFormat getTimeFormat()
-
setTimeFormat
public void setTimeFormat(TimeFormat timeFormat)
-
getTimeHeaderCellDuration
public int getTimeHeaderCellDuration()
-
setTimeHeaderCellDuration
public void setTimeHeaderCellDuration(int timeHeaderCellDuration)
-
getDayEndsHour
public int getDayEndsHour()
-
setDayEndsHour
public void setDayEndsHour(int dayEndsHour)
-
getHourFontFamily
public java.lang.String getHourFontFamily()
-
setHourFontFamily
public void setHourFontFamily(java.lang.String hourFontFamily)
-
getHourFontSize
public java.lang.String getHourFontSize()
-
setHourFontSize
public void setHourFontSize(java.lang.String hourFontSize)
-
isCssOnly
public boolean isCssOnly()
-
setCssOnly
public void setCssOnly(boolean cssOnly)
-
getHourFontColor
public java.lang.String getHourFontColor()
-
setHourFontColor
public void setHourFontColor(java.lang.String hourFontColor)
-
getCssClassPrefix
public java.lang.String getCssClassPrefix()
-
setCssClassPrefix
public void setCssClassPrefix(java.lang.String cssClassPrefix)
-
isUseUtcDates
public boolean isUseUtcDates()
-
setUseUtcDates
public void setUseUtcDates(boolean useUtcDates)
-
getDataRecurrenceField
public java.lang.String getDataRecurrenceField()
-
setDataRecurrenceField
public void setDataRecurrenceField(java.lang.String dataRecurrenceField)
-
getResolvedWeekStart
protected DayOfWeek getResolvedWeekStart()
-
getWeekStarts
public WeekStarts getWeekStarts()
-
setWeekStarts
public void setWeekStarts(WeekStarts weekStarts)
-
getEventSortExpression
public java.lang.String getEventSortExpression()
-
setEventSortExpression
public void setEventSortExpression(java.lang.String eventSortExpression)
-
getClientState
public JSONObject getClientState()
-
setClientState
public void setClientState(JSONObject clientState)
-
-