Package org.daypilot.ui
Class DayPilotScheduler
- java.lang.Object
-
- org.daypilot.ui.DayPilotScheduler
-
public class DayPilotScheduler extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
DayPilotScheduler.Section
-
Constructor Summary
Constructors Constructor Description DayPilotScheduler()
-
Method Summary
-
-
-
Method Detail
-
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
-
onResourceBubble
public void onResourceBubble(ResourceBubbleArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onGroupBubble
public void onGroupBubble(GroupBubbleArgs 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
-
onScroll
public void onScroll() throws java.lang.Exception
- Throws:
java.lang.Exception
-
onTimeRangeSelected
public void onTimeRangeSelected(TimeRangeSelectedArgs 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
-
onBeforeTimeHeaderRender
public void onBeforeTimeHeaderRender(BeforeTimeHeaderRenderArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onBeforeCellRender
public void onBeforeCellRender(BeforeCellRenderArgs cell) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onIncludeCell
public void onIncludeCell(IncludeCellArgs ea)
-
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
-
onTimeRangeMenuClick
public void onTimeRangeMenuClick(TimeRangeMenuClickArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onTimeRangeDoubleClick
public void onTimeRangeDoubleClick(TimeRangeDoubleClickArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onResourceHeaderMenuClick
@Deprecated public void onResourceHeaderMenuClick(ResourceHeaderMenuClickArgs ea) throws java.lang.Exception
Deprecated.Deprecated: Use onRowMenuClick instead.- Parameters:
ea
-- Throws:
java.lang.Exception
-
onRowMenuClick
public void onRowMenuClick(RowMenuClickArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onResourceHeaderClick
@Deprecated public void onResourceHeaderClick(ResourceHeaderClickArgs ea) throws java.lang.Exception
Deprecated.Deprecated: Use onRowClick instead.- Parameters:
ea
-- Throws:
java.lang.Exception
-
onRowClick
public void onRowClick(RowClickArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onEventMenuClick
public void onEventMenuClick(EventMenuClickArgs 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
-
onEventDoubleClick
public void onEventDoubleClick(EventDoubleClickArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onEventClick
public void onEventClick(EventClickArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onBeforeResHeaderRender
public void onBeforeResHeaderRender(BeforeResHeaderRenderArgs a) 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
-
onRowCreate
public void onRowCreate(RowCreateArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onRowDoubleClick
public void onRowDoubleClick(RowDoubleClickArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onRowEdit
public void onRowEdit(RowEditArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onRowMove
public void onRowMove(RowMoveArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onRowSelect
public void onRowSelect(RowSelectArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
onEventDelete
public void onEventDelete(EventDeleteArgs ea) throws java.lang.Exception
- Throws:
java.lang.Exception
-
process
public void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
getTimeHeaders
public TimeHeaderCollection getTimeHeaders()
-
getDataValueField
public java.lang.String getDataValueField()
-
setDataIdField
public void setDataIdField(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(JSONObject data, 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)
-
getResolvedWeekStart
protected DayOfWeek getResolvedWeekStart()
-
getStartDate
public DateTime getStartDate()
-
setStartDate
public void setStartDate(DateTime startDate)
-
getEndDate
public DateTime getEndDate()
-
getDays
public int getDays()
-
setDays
public void setDays(int days)
-
getCellDuration
public int getCellDuration()
-
setCellDuration
public void setCellDuration(int cellDuration)
-
getCellGroupBy
public GroupBy getCellGroupBy()
-
setCellGroupBy
public void setCellGroupBy(GroupBy cellGroupBy)
-
getCellWidth
public int getCellWidth()
-
setCellWidth
public void setCellWidth(int cellWidth)
-
getClientState
public JSONObject getClientState()
-
setClientState
public void setClientState(JSONObject clientState)
-
getScrollX
public int getScrollX()
-
setScrollX
public void setScrollX(int scrollX)
-
setScrollX
public void setScrollX(DateTime time)
-
getScrollY
public int getScrollY()
-
setScrollY
public void setScrollY(int scrollY)
-
getResources
public ResourceCollection getResources()
-
getSeparators
public SeparatorCollection getSeparators()
-
getHourNameBackColor
public java.lang.String getHourNameBackColor()
-
setHourNameBackColor
public void setHourNameBackColor(java.lang.String hourNameBackColor)
-
getColumnCount
public int getColumnCount()
-
getColumn
public TimeHeaderCell getColumn(int index)
-
getViewPort
public DayPilotScheduler.Section getViewPort()
-
getDataTagFields
public java.lang.String getDataTagFields()
-
setDataTagFields
public void setDataTagFields(java.lang.String dataTagFields)
-
getLocale
public java.util.Locale getLocale()
-
setLocale
public void setLocale(java.util.Locale locale)
-
getViewType
public ViewType getViewType()
-
setViewType
public void setViewType(ViewType viewType)
-
getTimeFormat
public TimeFormat getTimeFormat()
-
setTimeFormat
public void setTimeFormat(TimeFormat timeFormat)
-
isShowNonBusiness
public boolean isShowNonBusiness()
-
setShowNonBusiness
public void setShowNonBusiness(boolean showNonBusiness)
-
getBusinessBeginsHour
public int getBusinessBeginsHour()
-
setBusinessBeginsHour
public void setBusinessBeginsHour(int businessBeginsHour)
-
getBusinessEndsHour
public int getBusinessEndsHour()
-
setBusinessEndsHour
public void setBusinessEndsHour(int businessEndsHour)
-
getWeekStarts
public WeekStarts getWeekStarts()
-
setWeekStarts
public void setWeekStarts(WeekStarts weekStarts)
-
isTreeEnabled
public boolean isTreeEnabled()
-
setTreeEnabled
public void setTreeEnabled(boolean treeEnabled)
-
getHeaderDateFormat
public java.lang.String getHeaderDateFormat()
-
setHeaderDateFormat
public void setHeaderDateFormat(java.lang.String headerDateFormat)
-
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)
-
getId
public java.lang.String getId()
-
getTimeZone
public java.util.TimeZone getTimeZone()
-
setTimeZone
public void setTimeZone(java.util.TimeZone timeZone)
-
isUseUtcDates
public boolean isUseUtcDates()
-
setUseUtcDates
public void setUseUtcDates(boolean useUtcDates)
-
isCssOnly
public boolean isCssOnly()
-
setCssOnly
public void setCssOnly(boolean cssOnly)
-
getVisibleStart
public DateTime getVisibleStart()
-
getVisibleEnd
public DateTime getVisibleEnd()
-
getScale
public TimeScale getScale()
-
setScale
public void setScale(TimeScale scale)
-
getTimeline
public TimeCellCollection getTimeline()
-
setTimeline
public void setTimeline(TimeCellCollection timeline)
-
getCellWidthSpec
public CellWidthSpec getCellWidthSpec()
-
setCellWidthSpec
public void setCellWidthSpec(CellWidthSpec cellWidthSpec)
-
doIncludeCell
public void doIncludeCell(IncludeCellArgs ea)
-
getSelectedRows
public java.util.Collection<Resource> getSelectedRows()
-
getDataRecurrenceField
public java.lang.String getDataRecurrenceField()
-
setDataRecurrenceField
public void setDataRecurrenceField(java.lang.String dataRecurrenceField)
-
getEventSortExpression
public java.lang.String getEventSortExpression()
-
setEventSortExpression
public void setEventSortExpression(java.lang.String eventSortExpression)
-
getLinks
public LinkCollection getLinks()
-
getDataJoinField
public java.lang.String getDataJoinField()
-
setDataJoinField
public void setDataJoinField(java.lang.String dataJoinField)
-
getDataIdField
public java.lang.String getDataIdField()
-
getMultiselect
public java.util.List<EventInfo> getMultiselect()
-
-