public class DHXPlannerConfig extends DHXPlannerSettingsBase
Constructor and Description |
---|
DHXPlannerConfig()
Create instance of scheduler configuration
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAllTimed() |
java.lang.String |
getApiDate()
Used to set dates in events using api methods.
|
boolean |
getAutoEndDate()
If set to true - when you change start event time or date, the end event
time and date will be changed automatically in order to make the event
duration value 60 minutes
|
int |
getCascadeEventCount()
Sets the maximum number of events in a cascade.
|
boolean |
getCascadeEventDisplay()
By default, events scheduled to the same time are displayed one by one.
|
int |
getCascadeEventMargin()
Sets the left margin for the cascade of events.
|
boolean |
getCheckLimits()
Activates/disables checking of limits (by default, true).
|
boolean |
getClickFormDetails() |
int |
getCollisionLimit()
Configuration for Collision extension.
|
java.lang.String |
getDayDate()
Subheader, day label in day and week views;
|
boolean |
getDblClickCreate()
Allows creating new events by double click;
|
java.lang.String |
getDefaultDate()
Header of day and week views;
|
boolean |
getDetailsOnCreate()
Uses extended form on new event creation by drag or by dbl-click (option
doesn't affect monthly view - where details form is the only way to
change data);
|
boolean |
getDetailsOnDblClick()
Uses extended form on event double-click (double-click on existing
event).
|
java.lang.String |
getDisplayedEventColor()
Sets the default background color for the events
|
java.lang.String |
getDisplayedEventTextColor()
Sets the default font color for events
|
boolean |
getDisplayMarkedTimespans() |
boolean |
getDragCreate()
Allows creating new events by dnd;
|
boolean |
getDragLightbox()
When set to true lightbox can be dragged by header, it is enabled by
default
|
boolean |
getDragMove()
Allows moving events by dnd;
|
boolean |
getDragResize()
Allows resizing events by dnd;
|
boolean |
getEditOnCreate()
Shows form on new event creation;
|
int |
getEventDuration()
Used to set the initial duration of the event.
|
int |
getFirstHour()
Hour from which day and week scales start;
|
boolean |
getFixTabPosition()
By default, the dhx_terrace skinned scheduler presents the views tabs on
the left side.
|
boolean |
getFullDay()
If set to true - entry fields in 'Time period' section of details form
are blocked, and time period is set to a full day from 0.00am the current
cell data till 0.00am next day.
|
boolean |
getHighlightDisplayedEvent()
Specifies whether events should be highlighted while displaying.
|
java.lang.String |
getHourDate()
Vertical scale for day and week views;
|
int |
getHourSizePx()
Height of 1 hour in pixels;
|
boolean |
getIncludeEndBy() |
int |
getLastHour()
Hour from which day and week scales end.
|
DHXLightboxRecurring |
getLightboxRecurring()
{'ask' (default), 'instance', 'series'} defines the lightbox behavior
while opening in the edit mode
|
java.util.Calendar |
getLimitEnd() |
java.util.Calendar |
getLimitStart() |
boolean |
getLimitTimeSelect()
Adjust time selects to first ahd last hour settings
|
boolean |
getLimitView() |
java.lang.String |
getLoadDate() |
int |
getMapInfoWindowMaxWidth()
Maximum width of the info window (marker's tooltip) on the map {integer}
|
int |
getMapInitalZoom()
Initial zoom {integer}
|
boolean |
getMapResolveEventLocation()
If the locations of events have no latitude and longitude values in the
database, you can activate the following option and the coordinates will
be defined automatically during event loading {boolean}
|
boolean |
getMapResolveUserLocation()
Some browsers open up the opportunity to determine your location.
|
DHXMapType |
getMapType()
Map type {takes one of the predifened values}
|
int |
getMapZoomAfterResolve()
Zoom that will be used to show your location if you agree to a browser
offer to show it {boolean}
|
boolean |
getMarkNow()
When it set to true, day and week view will have marker, which show
current time
|
java.lang.Integer |
getMaxMonthEvents() |
java.lang.String |
getMonthDate()
Header of month view;
|
java.lang.String |
getMonthDay()
Each day block in month view;
|
boolean |
getMultiDay()
Enables rendering of multi-day events in daily and weekly views
|
boolean |
getOccurrenceTimestampInUTC()
The option allows working with recurring events independently of time
zones.
|
boolean |
getPositiveClosing()
If outside click occurs during form edit, then form will be saved and
event will be updated.
|
boolean |
getPreserveScroll()
When set to true current scroll position is preserved when navigating
between dates on the same view, it is enabled by default
|
boolean |
getPreventCache()
Add uid to data reqests, to prevent cache in ie
|
boolean |
getQuickInfoDetached() |
boolean |
getReadonly()
If set to true - events in scheduler can't be created|changed|deleted; 1)
|
java.lang.Boolean |
getReadonlyForm() |
java.lang.String |
getRepeatDate()
Format of date in “end by� field in reccuring events details
|
boolean |
getRepeatPrecise() |
int |
getScrollHour()
Hour which will be at top of screen, after view mode update
|
boolean |
getSelect() |
boolean |
getSeparateShortEvents() |
boolean |
getServerUTC()
If enabled component will convert server side dates from utc to local
timezone, and backward during data sending to server;
|
boolean |
getShowLoading()
Shows the progress during data loading, useful for dynamic loading mode
|
boolean |
getStartOnMonday()
If true week starts from Monday ( if false, week start from Sunday);
|
int |
getTimeStep()
Minimal date size step in minutes;
|
java.lang.String |
getTooltipClassName()
Configuration for Tooltip extension.
|
java.lang.String |
getTooltipDeltaX()
Configuration for Tooltip extension.
|
java.lang.String |
getTooltipDeltaY()
Configuration for Tooltip extension.
|
java.lang.String |
getTooltipTimeoutToDisplay()
Configuration for Tooltip extension.
|
boolean |
getTouch() |
int |
getTouchDrag() |
boolean |
getTouchTip() |
boolean |
getUpdateRender()
If the option is set to true, each time when an event is updated, the
whole view will be refreshed ( instead of a changed event only).
|
boolean |
getUseSelectMenuSpace()
By default, events occupies just a part of the cell width and leave the
place for the left-side menu.
|
java.lang.String |
getWeekDate()
Subheader, days of week in month view;
|
boolean |
getWideForm()
Enables "wide" mode for lightbox
|
java.lang.String |
getXmlDate()
Used to define format of data in data xml
|
java.lang.String |
getYearModeName() |
int |
getYearX() |
int |
getYearY() |
java.lang.String |
render(java.lang.String name)
Render settings
|
void |
setAllTimed(boolean all_timed) |
void |
setAllTimed(java.lang.String all_timed) |
void |
setApiDate(java.lang.String value) |
void |
setAutoEndDate(boolean value) |
void |
setCascadeEventCount(int value) |
void |
setCascadeEventDisplay(boolean value) |
void |
setCascadeEventMargin(int value) |
void |
setCheckLimits(boolean value) |
void |
setClickFormDetails(boolean value) |
void |
setCollisionLimit(int value) |
void |
setDayDate(java.lang.String value) |
void |
setDblClickCreate(boolean value) |
void |
setDefaultDate(java.lang.String value) |
void |
setDetailsOnCreate(boolean value) |
void |
setDetailsOnDblClick(boolean value) |
void |
setDisplayedEventColor(java.lang.String value) |
void |
setDisplayedEventTextColor(java.lang.String value) |
void |
setDisplayMarkedTimespans(boolean value) |
void |
setDragCreate(boolean value) |
void |
setDragLightbox(boolean value) |
void |
setDragMove(boolean value) |
void |
setDragResize(boolean value) |
void |
setEditOnCreate(boolean value) |
void |
setEventDuration(int value) |
void |
setExtensions(DHXPlannerExtensions extensions) |
void |
setFirstHour(int value) |
void |
setFixTabPosition(boolean value) |
void |
setFullDay(boolean value) |
void |
setHighlightDisplayedEvent(boolean value) |
void |
setHourDate(java.lang.String value) |
void |
setHourSizePx(int value) |
void |
setIncludeEndBy(boolean value) |
void |
setLastHour(int value) |
void |
setLightboxRecurring(DHXLightboxRecurring value) |
void |
setLimitEnd(java.util.Calendar value) |
void |
setLimitStart(java.util.Calendar value) |
void |
setLimitTimeSelect(boolean value) |
void |
setLimitView(boolean value) |
void |
setLoadDate(java.lang.String value) |
void |
setMapInfoWindowMaxWidth(int value) |
void |
setMapInitalZoom(int value) |
void |
setMapResolveEventLocation(boolean value) |
void |
setMapResolveUserLocation(boolean value) |
void |
setMapType(DHXMapType value) |
void |
setMapZoomAfterResolve(int value) |
void |
setMarkNow(boolean value) |
void |
setMaxMonthEvents(boolean value) |
void |
setMaxMonthEvents(int value) |
void |
setMonthDate(java.lang.String value) |
void |
setMonthDay(java.lang.String value) |
void |
setMultiDay(boolean value) |
void |
setOccurrenceTimestampInUTC(boolean value) |
void |
setPositiveClosing(boolean value) |
void |
setPreserveScroll(boolean value) |
void |
setPreventCache(boolean value) |
void |
setQuickInfoDetached(boolean value) |
void |
setReadonly(boolean value) |
void |
setReadonlyForm(java.lang.Boolean readonlyForm)
Makes the details form read-only;
|
void |
setRepeatDate(java.lang.String value) |
void |
setRepeatPrecise(boolean value) |
void |
setScrollHour(int value) |
void |
setSelect(boolean value) |
void |
setSeparateShortEvents(boolean value) |
void |
setServerUTC(boolean value) |
void |
setShowLoading(boolean value) |
void |
setStartOnMonday(boolean value) |
void |
setTimeStep(int value) |
void |
setTooltipClassName(java.lang.String value) |
void |
setTooltipDeltaX(java.lang.String value) |
void |
setTooltipDeltaY(java.lang.String value) |
void |
setTooltipTimeoutToDisplay(java.lang.String value) |
void |
setTouch(boolean value) |
void |
setTouchDrag(int value) |
void |
setTouchTip(boolean value) |
void |
setUpdateRender(boolean value) |
void |
setUseSelectMenuSpace(boolean value) |
void |
setWeekDate(java.lang.String value) |
void |
setWideForm(boolean value) |
void |
setXmlDate(java.lang.String value) |
void |
setYearModeName(java.lang.String value) |
void |
setYearX(int value) |
void |
setYearY(int value) |
getCSS, getJS, getPrefix, getProperties, reset, setPrefix
public DHXPlannerConfig()
public int getScrollHour()
public void setScrollHour(int value)
public int getEventDuration()
public void setEventDuration(int value)
public int getCascadeEventCount()
public void setCascadeEventCount(int value)
public int getCascadeEventMargin()
public void setCascadeEventMargin(int value)
public boolean getCascadeEventDisplay()
public void setCascadeEventDisplay(boolean value)
public boolean getUpdateRender()
public void setUpdateRender(boolean value)
public int getYearX()
public void setYearX(int value)
public int getYearY()
public void setYearY(int value)
public boolean getPreventCache()
public void setPreventCache(boolean value)
public int getFirstHour()
public void setFirstHour(int value)
public int getHourSizePx()
public void setHourSizePx(int value)
public int getLastHour()
public void setLastHour(int value)
public int getTimeStep()
public void setTimeStep(int value)
public int getMapInfoWindowMaxWidth()
public void setMapInfoWindowMaxWidth(int value)
public int getMapZoomAfterResolve()
public void setMapZoomAfterResolve(int value)
public boolean getMapResolveEventLocation()
public void setMapResolveEventLocation(boolean value)
public int getMapInitalZoom()
public void setMapInitalZoom(int value)
public boolean getMapResolveUserLocation()
public void setMapResolveUserLocation(boolean value)
public DHXMapType getMapType()
public void setMapType(DHXMapType value)
public DHXLightboxRecurring getLightboxRecurring()
public void setLightboxRecurring(DHXLightboxRecurring value)
public boolean getSelect()
public void setSelect(boolean value)
public boolean getOccurrenceTimestampInUTC()
public void setOccurrenceTimestampInUTC(boolean value)
public boolean getIncludeEndBy()
public void setIncludeEndBy(boolean value)
public boolean getStartOnMonday()
public void setStartOnMonday(boolean value)
public boolean getMarkNow()
public void setMarkNow(boolean value)
public boolean getLimitTimeSelect()
public void setLimitTimeSelect(boolean value)
public boolean getReadonly()
public void setReadonly(boolean value)
public void setReadonlyForm(java.lang.Boolean readonlyForm)
readonlyForm
- public java.lang.Boolean getReadonlyForm()
public boolean getShowLoading()
public void setShowLoading(boolean value)
public boolean getDragResize()
public void setDragResize(boolean value)
public boolean getDragMove()
public void setDragMove(boolean value)
public boolean getDragCreate()
public void setDragCreate(boolean value)
public boolean getDblClickCreate()
public void setDblClickCreate(boolean value)
public boolean getDetailsOnCreate()
public void setDetailsOnCreate(boolean value)
public boolean getEditOnCreate()
public void setEditOnCreate(boolean value)
public boolean getClickFormDetails()
public void setClickFormDetails(boolean value)
public boolean getDetailsOnDblClick()
public void setDetailsOnDblClick(boolean value)
public boolean getServerUTC()
public void setServerUTC(boolean value)
public boolean getPositiveClosing()
public void setPositiveClosing(boolean value)
public boolean getMultiDay()
public void setMultiDay(boolean value)
public boolean getFullDay()
public void setFullDay(boolean value)
public boolean getAutoEndDate()
public void setAutoEndDate(boolean value)
public boolean getDragLightbox()
public void setDragLightbox(boolean value)
public boolean getPreserveScroll()
public void setPreserveScroll(boolean value)
public boolean getHighlightDisplayedEvent()
public void setHighlightDisplayedEvent(boolean value)
public boolean getWideForm()
public void setWideForm(boolean value)
public java.lang.String getTooltipClassName()
public void setTooltipClassName(java.lang.String value)
public java.lang.String getTooltipTimeoutToDisplay()
public void setTooltipTimeoutToDisplay(java.lang.String value)
public java.lang.String getTooltipDeltaX()
public void setTooltipDeltaX(java.lang.String value)
public java.lang.String getTooltipDeltaY()
public void setTooltipDeltaY(java.lang.String value)
public java.lang.String getDefaultDate()
public void setDefaultDate(java.lang.String value)
public java.lang.String getMonthDate()
public void setMonthDate(java.lang.String value)
public java.lang.String getLoadDate()
public void setLoadDate(java.lang.String value)
public java.lang.String getWeekDate()
public void setWeekDate(java.lang.String value)
public java.lang.String getDayDate()
public void setDayDate(java.lang.String value)
public java.lang.String getHourDate()
public void setHourDate(java.lang.String value)
public java.lang.String getMonthDay()
public void setMonthDay(java.lang.String value)
public java.lang.String getApiDate()
public void setApiDate(java.lang.String value)
public java.lang.String getXmlDate()
public void setXmlDate(java.lang.String value)
public java.lang.String getRepeatDate()
public void setRepeatDate(java.lang.String value)
public java.lang.String getYearModeName()
public void setYearModeName(java.lang.String value)
public java.lang.String getDisplayedEventColor()
public void setDisplayedEventColor(java.lang.String value)
public java.lang.String getDisplayedEventTextColor()
public void setDisplayedEventTextColor(java.lang.String value)
public boolean getCheckLimits()
public void setCheckLimits(boolean value)
public boolean getFixTabPosition()
public void setFixTabPosition(boolean value)
public boolean getUseSelectMenuSpace()
public void setUseSelectMenuSpace(boolean value)
public int getCollisionLimit()
public void setCollisionLimit(int value)
public java.util.Calendar getLimitStart()
public void setLimitStart(java.util.Calendar value)
public java.util.Calendar getLimitEnd()
public void setLimitEnd(java.util.Calendar value)
public boolean getLimitView()
public void setLimitView(boolean value)
public boolean getDisplayMarkedTimespans()
public void setDisplayMarkedTimespans(boolean value)
public boolean getSeparateShortEvents()
public void setSeparateShortEvents(boolean value)
public boolean getTouch()
public void setTouch(boolean value)
public boolean getTouchTip()
public void setTouchTip(boolean value)
public int getTouchDrag()
public void setTouchDrag(int value)
public boolean getQuickInfoDetached()
public void setQuickInfoDetached(boolean value)
public java.lang.String getAllTimed()
public void setAllTimed(java.lang.String all_timed)
public void setAllTimed(boolean all_timed)
public java.lang.Integer getMaxMonthEvents()
public void setMaxMonthEvents(int value)
public void setMaxMonthEvents(boolean value)
public boolean getRepeatPrecise()
public void setRepeatPrecise(boolean value)
public java.lang.String render(java.lang.String name) throws java.lang.Exception
DHXPlannerSettingsBase
render
in class DHXPlannerSettingsBase
java.lang.Exception
public void setExtensions(DHXPlannerExtensions extensions)