public final class TimetableSettings extends ViewSettings
Timetable
view.Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getAllowReorderResources()
Gets a value indicating whether users are allowed to reorder resource columns via drag and drop.
|
java.lang.Boolean |
getAllowResizeColumns()
Gets a value indicating whether the users can resize timetable columns.
|
java.lang.Integer |
getCellSize()
Gets the size of time cells.
|
Style |
getCellStyle()
Gets the style of a time segment cell.
|
Duration |
getCellTime()
Gets the time length of a single cell in a timetable view,
accurate to the nearest second.
|
java.lang.Integer |
getColumnBandSize()
Gets the size of the bands displayed on the left/top side of each timetable column.
|
DateList |
getDates()
Gets a collection of all dates visualized in the timetable.
|
Brush |
getDayHeaderBrush()
Gets the brush used to paint the subheader
where the all-day items are displayed.
|
java.lang.Integer |
getDayHeaderMinSize()
Gets the minimum size of the header displaying all-day items.
|
java.lang.Integer |
getDayHeaderSize()
Gets the desired size of the header displaying all-day items.
|
java.lang.Boolean |
getEnableAutoDayChange()
Gets a value indicating whether the
Timetable
view will automatically scroll one day forth and back when the user moves
the mouse at the top or at the bottom of the view. |
java.lang.Boolean |
getEnableCollisions()
Gets a value indicating whether the item collision processing is enabled.
|
java.lang.Boolean |
getEnableDayItems()
Gets a value indicating whether items longer than
24 hours are displayed in the day header or not.
|
java.lang.Boolean |
getEnableSnapping()
Gets a value indicating whether custom snapping is enabled.
|
java.lang.Boolean |
getEnableWorkOnWeekends()
Gets a value indicating whether to color the work-time cells in weekend days.
|
java.lang.Integer |
getEndTime()
Gets the end time of the timetable, expressed
in minutes since the beginning of the day.
|
java.util.EnumSet<ItemAction> |
getExpandActiveItemOn()
Gets whether the active item should ignore collisions.
|
java.lang.Boolean |
getExtendedCurrentTimeMarker()
Gets whether current-time marker spans the full extent of timetable view.
|
java.lang.String |
getGeneralFormat()
Gets the string to use when formatting times in the timeline.
|
java.lang.Integer |
getGroupHourCount()
Gets the number of hours to group when
getGroupHours() is enabled. |
java.lang.Boolean |
getGroupHours()
Gets a value indicating whether hours displayed in the timeline are grouped.
|
java.lang.String |
getHeaderDateFormat()
Gets how to format and display dates in the timetable header.
|
java.awt.Color |
getHeaderShadowColor()
Gets the color of the shadows cast by headers.
|
java.lang.Integer |
getHeaderShadowOffset()
Gets the offset of the shadows from the headers that cast them.
|
ShadowStyle |
getHeaderShadowStyle()
Gets the style of the shadows cast by headers.
|
java.lang.String |
getHourFormat()
Gets the format of the hours displayed in the timeline.
|
Brush |
getInfoHeaderBrush()
Gets the brush used to paint the info header.
|
java.lang.Integer |
getInfoHeaderSize()
Gets the size of the info header.
|
java.lang.Integer |
getItemOffset()
Gets the distance between the first item and its adjoining cell side.
|
java.lang.Integer |
getMainHeaderSize()
Gets the size of the main header.
|
java.lang.Integer |
getMaxAllDayItems()
Gets the maximum number of all-day items visible in the columns headers at a time.
|
java.lang.Integer |
getMaxItemSize()
Gets the largest size allowed for schedule items.
|
java.lang.Integer |
getMinColumnSize()
Gets the smallest size allowed for timetable columns.
|
java.lang.Integer |
getMinItemSize()
Gets the smallest size allowed for schedule items.
|
MinuteFormat |
getMinuteFormat()
Gets how to format and display minutes.
|
java.awt.Color |
getNowColor()
Gets the color used to mark the current time in the timeline.
|
java.awt.Color |
getNowFillColor()
Gets the fill color used to mark the current time in the timeline.
|
Orientation |
getOrientation()
Gets the view orientation.
|
java.awt.Color |
getReorderIndicatorColor()
Gets the color of reorder indicator line.
|
java.lang.Integer |
getReorderIndicatorWidth()
Gets the width of reorder indicator line.
|
java.lang.Boolean |
getReverseGrouping()
Gets a value indicating whether grouping (if enabled) will
be performed first by the resource, and then by the date.
|
java.lang.Boolean |
getRotateHeaderTexts()
Gets a value indicating whether the header texts are rotated in
a view with
Horizontal orientation. |
java.lang.Boolean |
getRotateTimelineTexts()
Gets a value indicating whether the timeline texts are rotated in
a view with
Horizontal orientation. |
java.lang.Integer |
getScrollStep()
Gets the number of days to scroll when the user clicks the navigation buttons.
|
java.lang.Integer |
getSecondTimelineOffset()
Gets the offset in hours of the second timeline.
|
Alignment |
getSecondTimelineStyle()
Gets a value indicating whether a second timeline is
displayed in addition to the primary one.
|
java.lang.Boolean |
getSelectWholeDayOnHeaderClick()
Gets a value indicating whether the whole day is
selected when the user clicks in the column's header.
|
java.lang.Boolean |
getShowAM()
Gets a value indicating whether the AM and PM suffixes are displayed.
|
java.lang.Boolean |
getShowCurrentTime()
Gets a value indicating whether to display the
current time in the timeline.
|
java.lang.Boolean |
getShowDayHeader()
Gets a value indicating whether to show the header displaying all-day items.
|
java.lang.Boolean |
getShowInfoHeader()
Gets a value indicating whether to show the info header.
|
java.lang.Boolean |
getShowItemSpans()
Gets a value indicating whether the item time spans are
also projected in the left band of the corresponding column.
|
java.lang.Boolean |
getShowMinutesInHourHeaders()
Gets a value indicating whether to display the minutes of
each hour in the timeline header when it displays whole hour cells.
|
java.lang.Boolean |
getShowMoreItemsCue()
Gets a value indicating whether to display a 'more items' icon in the
timeline header when some items in a timetable column are not currently visible.
|
java.lang.Boolean |
getShowNavigationButtons()
Gets a value indicating whether the Timetable view displays navigation buttons.
|
java.lang.Boolean |
getShowPadding()
Gets a value indicating whether padding should be disabled.
|
java.lang.Boolean |
getShowWorkTime()
Gets a value indicating whether the work time should be displayed with different style.
|
Duration |
getSnapInterval()
Gets the custom snap interval.
|
java.lang.Integer |
getStartTime()
Gets the start time of the timetable,
expressed in minutes since the beginning of the day.
|
Style |
getStyle()
Gets the appearance style used to paint calendar
elements that don't have a distinct style assigned to them.
|
java.lang.Integer |
getSubHeaderSize()
Gets the size of the secondary header.
|
java.lang.Integer |
getTimelinePadding()
Gets the padding of the separator lines in the timeline,
expressed as a percent of the timeline size.
|
java.lang.Integer |
getTimelineSize()
Gets the size of the timeline header.
|
Style |
getTimelineStyle()
Gets the style of the timeline header.
|
java.lang.Boolean |
getTwelveHourFormat()
Gets a value indicating whether to use a 12-hour format.
|
java.lang.Boolean |
getUseZoom()
Gets a value indicating whether to use the associated
zoom factor or the fixed cell height when displaying cells.
|
java.lang.Integer |
getVisibleColumns()
Gets the number of columns visible in the view.
|
Style |
getWorkTimeCellStyle()
Gets the style of cells in the work time interval.
|
java.lang.Integer |
getWorkTimeEndHour()
Gets the end hour of the work time interval.
|
java.lang.Integer |
getWorkTimeStartHour()
Gets the start hour of the work time interval.
|
java.lang.Integer |
getZoomFactor()
Gets the zoom factor when zoom is enabled.
|
void |
setAllowReorderResources(java.lang.Boolean value)
Sets a value indicating whether users are allowed to reorder resource columns via drag and drop.
|
void |
setAllowResizeColumns(java.lang.Boolean value)
Sets a value indicating whether the users can resize timetable columns.
|
void |
setCellSize(java.lang.Integer value)
Sets the size of time cells.
|
void |
setCellStyle(Style value)
Sets the style of a time segment cell.
|
void |
setCellTime(Duration value)
Sets the time length of a single cell in a timetable view,
accurate to the nearest second.
|
void |
setColumnBandSize(java.lang.Integer value)
Sets the size of the bands displayed on the left/top side of each timetable column.
|
void |
setDayHeaderBrush(Brush value)
Sets the brush used to paint the subheader
where the all-day items are displayed.
|
void |
setDayHeaderMinSize(java.lang.Integer value)
Sets the minimum size of the header displaying all-day items.
|
void |
setDayHeaderSize(java.lang.Integer value)
Sets the desired size of the header displaying all-day items.
|
void |
setEnableAutoDayChange(java.lang.Boolean value)
Sets a value indicating whether the
Timetable
view will automatically scroll one day forth and back when the user moves
the mouse at the top or at the bottom of the view. |
void |
setEnableCollisions(java.lang.Boolean value)
Sets a value indicating whether the item collision processing is enabled.
|
void |
setEnableDayItems(java.lang.Boolean value)
Sets a value indicating whether items longer than
24 hours are displayed in the day header or not.
|
void |
setEnableSnapping(java.lang.Boolean value)
Sets a value indicating whether custom snapping is enabled.
|
void |
setEnableWorkOnWeekends(java.lang.Boolean value)
Sets a value indicating whether to color the work-time cells in weekend days.
|
void |
setEndTime(java.lang.Integer value)
Sets the end time of the timetable, expressed
in minutes since the beginning of the day.
|
void |
setExpandActiveItemOn(java.util.EnumSet<ItemAction> value)
Sets whether the active item should ignore collisions.
|
void |
setExtendedCurrentTimeMarker(java.lang.Boolean value)
Sets whether current-time marker spans the full extent of timetable view.
|
void |
setGeneralFormat(java.lang.String value)
Sets the string to use when formatting times in the timeline.
|
void |
setGroupHourCount(java.lang.Integer value)
Sets the number of hours to group when
getGroupHours() is enabled. |
void |
setGroupHours(java.lang.Boolean value)
Sets a value indicating whether hours displayed in the timeline are grouped.
|
void |
setHeaderDateFormat(java.lang.String value)
Sets how to format and display dates in the timetable header.
|
void |
setHeaderShadowColor(java.awt.Color value)
Sets the color of the shadows cast by headers.
|
void |
setHeaderShadowOffset(java.lang.Integer value)
Sets the offset of the shadows from the headers that cast them.
|
void |
setHeaderShadowStyle(ShadowStyle value)
Sets the style of the shadows cast by headers.
|
void |
setHourFormat(java.lang.String value)
Sets the format of the hours displayed in the timeline.
|
void |
setInfoHeaderBrush(Brush value)
Sets the brush used to paint the info header.
|
void |
setInfoHeaderSize(java.lang.Integer value)
Sets the size of the info header.
|
void |
setItemOffset(java.lang.Integer value)
Sets the distance between the first item and its adjoining cell side.
|
void |
setMainHeaderSize(java.lang.Integer value)
Sets the size of the main header.
|
void |
setMaxAllDayItems(java.lang.Integer value)
Sets the maximum number of all-day items visible in the columns headers at a time.
|
void |
setMaxItemSize(java.lang.Integer value)
Sets the largest size allowed for schedule items.
|
void |
setMinColumnSize(java.lang.Integer value)
Sets the smallest size allowed for timetable columns.
|
void |
setMinItemSize(java.lang.Integer value)
Sets the smallest size allowed for schedule items.
|
void |
setMinuteFormat(MinuteFormat value)
Sets how to format and display minutes.
|
void |
setNowColor(java.awt.Color value)
Sets the color used to mark the current time in the timeline.
|
void |
setNowFillColor(java.awt.Color value)
Sets the fill color used to mark the current time in the timeline.
|
void |
setOrientation(Orientation value)
Sets the view orientation.
|
void |
setReorderIndicatorColor(java.awt.Color value)
Sets the color of reorder indicator line.
|
void |
setReorderIndicatorWidth(java.lang.Integer value)
Sets the width of reorder indicator line.
|
void |
setReverseGrouping(java.lang.Boolean value)
Sets a value indicating whether grouping (if enabled) will
be performed first by the resource, and then by the date.
|
void |
setRotateHeaderTexts(java.lang.Boolean value)
Sets a value indicating whether the header texts are rotated in
a view with
Horizontal orientation. |
void |
setRotateTimelineTexts(java.lang.Boolean value)
Sets a value indicating whether the timeline texts are rotated in
a view with
Horizontal orientation. |
void |
setScrollStep(java.lang.Integer value)
Sets the number of days to scroll when the user clicks the navigation buttons.
|
void |
setSecondTimelineOffset(java.lang.Integer value)
Sets the offset in hours of the second timeline.
|
void |
setSecondTimelineStyle(Alignment value)
Sets a value indicating whether a second timeline is
displayed in addition to the primary one.
|
void |
setSelectWholeDayOnHeaderClick(java.lang.Boolean value)
Sets a value indicating whether the whole day is
selected when the user clicks in the column's header.
|
void |
setShowAM(java.lang.Boolean value)
Sets a value indicating whether the AM and PM suffixes are displayed.
|
void |
setShowCurrentTime(java.lang.Boolean value)
Sets a value indicating whether to display the
current time in the timeline.
|
void |
setShowDayHeader(java.lang.Boolean value)
Sets a value indicating whether to show the header displaying all-day items.
|
void |
setShowInfoHeader(java.lang.Boolean value)
Sets a value indicating whether to show the info header.
|
void |
setShowItemSpans(java.lang.Boolean value)
Sets a value indicating whether the item time spans are
also projected in the left band of the corresponding column.
|
void |
setShowMinutesInHourHeaders(java.lang.Boolean value)
Sets a value indicating whether to display the minutes of
each hour in the timeline header when it displays whole hour cells.
|
void |
setShowMoreItemsCue(java.lang.Boolean value)
Sets a value indicating whether to display a 'more items' icon in the
timeline header when some items in a timetable column are not currently visible.
|
void |
setShowNavigationButtons(java.lang.Boolean value)
Sets a value indicating whether the Timetable view displays navigation buttons.
|
void |
setShowPadding(java.lang.Boolean value)
Sets a value indicating whether padding should be disabled.
|
void |
setShowWorkTime(java.lang.Boolean value)
Sets a value indicating whether the work time should be displayed with different style.
|
void |
setSnapInterval(Duration value)
Sets the custom snap interval.
|
void |
setStartTime(java.lang.Integer value)
Sets the start time of the timetable,
expressed in minutes since the beginning of the day.
|
void |
setStyle(Style value)
Sets the appearance style used to paint calendar
elements that don't have a distinct style assigned to them.
|
void |
setSubHeaderSize(java.lang.Integer value)
Sets the size of the secondary header.
|
void |
setTimelinePadding(java.lang.Integer value)
Sets the padding of the separator lines in the timeline,
expressed as a percent of the timeline size.
|
void |
setTimelineSize(java.lang.Integer value)
Sets the size of the timeline header.
|
void |
setTimelineStyle(Style value)
Sets the style of the timeline header.
|
void |
setTwelveHourFormat(java.lang.Boolean value)
Sets a value indicating whether to use a 12-hour format.
|
void |
setUseZoom(java.lang.Boolean value)
Sets a value indicating whether to use the associated
zoom factor or the fixed cell height when displaying cells.
|
void |
setVisibleColumns(java.lang.Integer value)
Sets the number of columns visible in the view.
|
void |
setWorkTimeCellStyle(Style value)
Sets the style of cells in the work time interval.
|
void |
setWorkTimeEndHour(java.lang.Integer value)
Sets the end hour of the work time interval.
|
void |
setWorkTimeStartHour(java.lang.Integer value)
Sets the start hour of the work time interval.
|
void |
setZoomFactor(java.lang.Integer value)
Sets the zoom factor when zoom is enabled.
|
addChangeListener, removeChangeListener
public Style getStyle()
getStyle
in class ViewSettings
Style
object specifying the style of calendar UI elements.
This property cannot be null.public void setStyle(Style value)
setStyle
in class ViewSettings
value
- A Style
object specifying the style of calendar UI elements.
This property cannot be null.public Style getTimelineStyle()
Style
object specifying the appearance of the timeline header.
This property cannot be null.public void setTimelineStyle(Style value)
value
- A Style
object specifying the appearance of the timeline header.
This property cannot be null.public Style getCellStyle()
Style
object specifying the style of timetable cells.
This property cannot be null.public void setCellStyle(Style value)
value
- A Style
object specifying the style of timetable cells.
This property cannot be null.public Style getWorkTimeCellStyle()
Style
object specifying the style of the work time cells.
This property cannot be null.public void setWorkTimeCellStyle(Style value)
value
- A Style
object specifying the style of the work time cells.
This property cannot be null.public java.lang.Integer getTimelineSize()
public void setTimelineSize(java.lang.Integer value)
value
- A non-negative integer value specifying the size of the timeline header in pixels.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getTimelinePadding()
public void setTimelinePadding(java.lang.Integer value)
public java.lang.Integer getMainHeaderSize()
A value of 0 causes the calendar to automatically calculate a header size based on the size of the header font.
public void setMainHeaderSize(java.lang.Integer value)
A value of 0 causes the calendar to automatically calculate a header size based on the size of the header font.
value
- A non-negative integer value specifying the size of the header in pixels.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getSubHeaderSize()
A value of 0 causes the calendar to automatically calculate a header size based on the size of the header font.
public void setSubHeaderSize(java.lang.Integer value)
A value of 0 causes the calendar to automatically calculate a header size based on the size of the header font.
value
- A non-negative integer value specifying the size of the secondary header in pixels.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getCellSize()
public void setCellSize(java.lang.Integer value)
value
- An integer value specifying the cell size. The minimal allowed value is 10.
Set to null to use the corresponding value from the current theme.public Brush getDayHeaderBrush()
Brush
-derived class used to fill the day header.public void setDayHeaderBrush(Brush value)
value
- An instance of a Brush
-derived class used to fill the day header.
Set to null to use the corresponding value from the current theme.public Brush getInfoHeaderBrush()
Brush
object specifying the interior fill of the header.public void setInfoHeaderBrush(Brush value)
value
- A Brush
object specifying the interior fill of the header.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getStartTime()
public void setStartTime(java.lang.Integer value)
value
- An integer value specifying the view start time in minutes.
The allowed values range from 0 to 1440.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getEndTime()
Specifying value for this property which is smaller than the value
of getStartTime()
is permissible. This indicates that the
end value represents time from the next day. For example, if
getStartTime()
is set to 600 (10:00 AM) and getEndTime()
is set to 480 (8:00 AM), then each column in the view represents
the time from 10:00 AM until 8:00 AM on the following day.
Specifying 1920 (480 + 1440) for the getEndTime()
yields the same result.
public void setEndTime(java.lang.Integer value)
Specifying value for this property which is smaller than the value
of getStartTime()
is permissible. This indicates that the
end value represents time from the next day. For example, if
getStartTime()
is set to 600 (10:00 AM) and getEndTime()
is set to 480 (8:00 AM), then each column in the view represents
the time from 10:00 AM until 8:00 AM on the following day.
Specifying 1920 (480 + 1440) for the getEndTime()
yields the same result.
value
- An integer value specifying the end time in minutes.
The allowed values range from 0 to 2880.
Set to null to use the corresponding value from the current theme.public Duration getCellTime()
Valid values for this property range from 1 second to 1 hour.
Duration
object that specifies the time length of a single cell.
The allowed values range from 1 second to 1 hour inclusive.public void setCellTime(Duration value)
Valid values for this property range from 1 second to 1 hour.
value
- A Duration
object that specifies the time length of a single cell.
The allowed values range from 1 second to 1 hour inclusive.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getWorkTimeStartHour()
This property and getWorkTimeEndHour()
specify the working time period, whose
cells are usually displayed in a different style as set in setWorkTimeCellStyle(com.mindfusion.scheduling.model.Style)
.
To use the same style for all cells in the timetable view, set setWorkTimeCellStyle(com.mindfusion.scheduling.model.Style)
to a new empty Style
.
getWorkTimeEndHour()
.public void setWorkTimeStartHour(java.lang.Integer value)
This property and getWorkTimeEndHour()
specify the working time period, whose
cells are usually displayed in a different style as set in setWorkTimeCellStyle(com.mindfusion.scheduling.model.Style)
.
To use the same style for all cells in the timetable view, set setWorkTimeCellStyle(com.mindfusion.scheduling.model.Style)
to a new empty Style
.
value
- An integer value specifying the start of the work time in hours. The allowed
values range from 0 to 23. The value cannot be greater than getWorkTimeEndHour()
.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getWorkTimeEndHour()
This property and getWorkTimeStartHour()
specify the working time period, whose
cells are usually displayed in a different style as set in setWorkTimeCellStyle(com.mindfusion.scheduling.model.Style)
.
To use the same style for all cells in the timetable view, set setWorkTimeCellStyle(com.mindfusion.scheduling.model.Style)
to a new empty Style
.
getWorkTimeStartHour()
.public void setWorkTimeEndHour(java.lang.Integer value)
This property and getWorkTimeStartHour()
specify the working time period, whose
cells are usually displayed in a different style as set in setWorkTimeCellStyle(com.mindfusion.scheduling.model.Style)
.
To use the same style for all cells in the timetable view, set setWorkTimeCellStyle(com.mindfusion.scheduling.model.Style)
to a new empty Style
.
value
- An integer value specifying the start of the work time in hours. The allowed
values range from 0 to 23. The value cannot be less than getWorkTimeStartHour()
.
Set to null to use the corresponding value from the current theme.public MinuteFormat getMinuteFormat()
MinuteFormat
constants.public void setMinuteFormat(MinuteFormat value)
value
- One of the MinuteFormat
constants.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getShowAM()
public void setShowAM(java.lang.Boolean value)
value
- true to show AM/PM suffixes; otherwise, false.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getTwelveHourFormat()
public void setTwelveHourFormat(java.lang.Boolean value)
value
- true to use 12-hour format, or false to use 24-hour format.
Set to null to use the corresponding value from the current theme.public java.lang.String getHourFormat()
public void setHourFormat(java.lang.String value)
public java.lang.Boolean getShowMinutesInHourHeaders()
Whole hour cells are displayed when the hours are divisible by
the specified getCellTime()
.
public void setShowMinutesInHourHeaders(java.lang.Boolean value)
Whole hour cells are displayed when the hours are divisible by
the specified getCellTime()
.
value
- true to show minutes; otherwise, false.
Set to null to use the corresponding value from the current theme.public Alignment getSecondTimelineStyle()
Alignment
constants.public void setSecondTimelineStyle(Alignment value)
value
- One of the Alignment
constants. Set to Alignment.Near
to show the second timeline next to the main one, Alignment.Far
to
place it at the opposite side of the view, or Alignment.None
to hide it.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getSecondTimelineOffset()
public void setSecondTimelineOffset(java.lang.Integer value)
value
- An integer value specifying the offset in hours.
The allowed values range from 0 to 23.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getShowCurrentTime()
public void setShowCurrentTime(java.lang.Boolean value)
value
- true to indicate the current time; otherwise, false.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getExtendedCurrentTimeMarker()
public void setExtendedCurrentTimeMarker(java.lang.Boolean value)
value
- true to span full extent, or false to span only header area.public java.awt.Color getNowColor()
public void setNowColor(java.awt.Color value)
value
- A Color object specifying the color used to indicate the current time.
Set to null to use the corresponding value from the current theme.public java.awt.Color getNowFillColor()
public void setNowFillColor(java.awt.Color value)
value
- A Color object specifying the color used to indicate the current time.
Set to null to use the corresponding value from the current theme.public DateList getDates()
DateList
class specifying
which dates to display as columns in the timetable view.public java.lang.Integer getVisibleColumns()
public void setVisibleColumns(java.lang.Integer value)
value
- A positive integer value specifying the number
of columns visible at the same time.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getShowDayHeader()
public void setShowDayHeader(java.lang.Boolean value)
value
- true to show the days header; otherwise, false.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getShowInfoHeader()
Boolean
value.public void setShowInfoHeader(java.lang.Boolean value)
value
- A Boolean
value.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getDayHeaderMinSize()
public void setDayHeaderMinSize(java.lang.Integer value)
value
- An integer value specifying the minimal header size in pixels.
The minimal allowed value is 5.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getDayHeaderSize()
public void setDayHeaderSize(java.lang.Integer value)
value
- An integer value specifying the header size in pixels. Set to 0 to indicate that the header
should be auto-sized according to the DayHeaderMinSize
property.public java.lang.Integer getInfoHeaderSize()
public void setInfoHeaderSize(java.lang.Integer value)
value
- A positive integer value specifying the size of the info header.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getMaxAllDayItems()
The all-day items header is automatically resized to hold all items up to the
number set in this property. If there are more all-day items, the rest of them
are not shown. In that case, the 'hidden items' icon is displayed if
getShowMoreItemsCue()
is enabled.
public void setMaxAllDayItems(java.lang.Integer value)
The all-day items header is automatically resized to hold all items up to the
number set in this property. If there are more all-day items, the rest of them
are not shown. In that case, the 'hidden items' icon is displayed if
getShowMoreItemsCue()
is enabled.
value
- An integer value specifying how many all-day items to display
at most in the column headers. The allowed values range from 1 to 20.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getAllowResizeColumns()
public void setAllowResizeColumns(java.lang.Boolean value)
value
- true to let users resize the view columns; otherwise, false.
Set to null to use the corresponding value from the current theme.public java.lang.String getHeaderDateFormat()
public void setHeaderDateFormat(java.lang.String value)
value
- A string specifying the display format.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getMinColumnSize()
public void setMinColumnSize(java.lang.Integer value)
value
- An integer value specifying the minimal column size.
The minimal allowed value is 10.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getMinItemSize()
If there is not enough space in a column to display all related items, the items that do not fit remain invisible.
public void setMinItemSize(java.lang.Integer value)
If there is not enough space in a column to display all related items, the items that do not fit remain invisible.
value
- An integer value specifying the minimal size in pixels.
The minimal allowed value is 5.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getMaxItemSize()
public void setMaxItemSize(java.lang.Integer value)
value
- An integer value specifying the maximum size in pixels.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getColumnBandSize()
public void setColumnBandSize(java.lang.Integer value)
value
- A non-negative integer specifying band width in pixels.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getShowNavigationButtons()
public void setShowNavigationButtons(java.lang.Boolean value)
value
- true to show navigation buttons; otherwise, false.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getShowMoreItemsCue()
public void setShowMoreItemsCue(java.lang.Boolean value)
value
- true to show the 'more items' cue when there are
items not visible in the current viewport; otherwise, false.
Set to null to use the corresponding value from the current theme.public ShadowStyle getHeaderShadowStyle()
ShadowStyle
constants.public void setHeaderShadowStyle(ShadowStyle value)
value
- One of the ShadowStyle
constants.
Set to null to use the corresponding value from the current theme.public java.awt.Color getHeaderShadowColor()
public void setHeaderShadowColor(java.awt.Color value)
value
- A Color object specifying the color of headers' shadows.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getHeaderShadowOffset()
public void setHeaderShadowOffset(java.lang.Integer value)
value
- An integer value specifying how many pixels there are between
headers and their shadows. The allowed values range from 1 to 5.
Set to null to use the corresponding value from the current theme.public Orientation getOrientation()
A vertical timetable view displays cells for the same daytime in a row, and cells for the same date in a column. A horizontal timetable view displays cells for the same time of the day in a column, and cells for the same date in a row.
Orientation
enumeration.public void setOrientation(Orientation value)
A vertical timetable view displays cells for the same daytime in a row, and cells for the same date in a column. A horizontal timetable view displays cells for the same time of the day in a column, and cells for the same date in a row.
value
- A member of the Orientation
enumeration.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getRotateHeaderTexts()
Horizontal
orientation.public void setRotateHeaderTexts(java.lang.Boolean value)
Horizontal
orientation.value
- true to display the header text rotated; otherwise, false.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getRotateTimelineTexts()
Horizontal
orientation.public void setRotateTimelineTexts(java.lang.Boolean value)
Horizontal
orientation.value
- true to display the timeline text rotated; otherwise, false.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getUseZoom()
Boolean
value.public void setUseZoom(java.lang.Boolean value)
value
- A Boolean
value.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getZoomFactor()
public void setZoomFactor(java.lang.Integer value)
To make the whole timeline visible at a time, set this to 100.
value
- An integer value specifying the zoom factor when UseZoom is enabled.
The allowed values range from 100 to 1000.
Set to null to use the corresponding value from the current theme.public java.lang.String getGeneralFormat()
public void setGeneralFormat(java.lang.String value)
value
- A string specifying the display format.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getGroupHours()
Certain conditions prevent hours from grouping, such as when the hours
are not divisible by the specified CellTime
.
public void setGroupHours(java.lang.Boolean value)
Certain conditions prevent hours from grouping, such as when the hours
are not divisible by the specified CellTime
.
value
- true to enable grouping; otherwise, false.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getGroupHourCount()
getGroupHours()
is enabled.public void setGroupHourCount(java.lang.Integer value)
getGroupHours()
is enabled.public java.lang.Boolean getShowWorkTime()
Boolean
value.public void setShowWorkTime(java.lang.Boolean value)
value
- A Boolean
value.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getSelectWholeDayOnHeaderClick()
Boolean
value.public void setSelectWholeDayOnHeaderClick(java.lang.Boolean value)
value
- A Boolean
value.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getScrollStep()
public void setScrollStep(java.lang.Integer value)
value
- A positive integer value specifying the number of days to scroll.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getReverseGrouping()
By default grouping is done first by available dates, then by the resources specified in the current grouping type. Setting this property to true reverses this behavior.
Boolean
value.public void setReverseGrouping(java.lang.Boolean value)
By default grouping is done first by available dates, then by the resources specified in the current grouping type. Setting this property to true reverses this behavior.
value
- A Boolean
value.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getShowPadding()
Boolean
value.public void setShowPadding(java.lang.Boolean value)
value
- A Boolean
value.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getEnableSnapping()
Boolean
value.public void setEnableSnapping(java.lang.Boolean value)
value
- A Boolean
value.
Set to null to use the corresponding value from the current theme.public Duration getSnapInterval()
Duration
object that specifies the snap interval, relative to the
beginning of the timetable column. The allowed values range from 1 second to 1 hour inclusive.public void setSnapInterval(Duration value)
value
- A Duration
object that specifies the snap interval, relative to the
beginning of the timetable column. The allowed values range from 1 second to 1 hour inclusive.
Set to null to use the corresponding value from the current theme.public java.util.EnumSet<ItemAction> getExpandActiveItemOn()
ItemAction
constants.public void setExpandActiveItemOn(java.util.EnumSet<ItemAction> value)
value
- One of the ItemAction
constants.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getEnableDayItems()
By default, items longer than 1 day or items marked as AllDayEvent
are displayed in the day header of the view. If the day header is not displayed (that is,
getShowDayHeader()
is set to false) then these items are never displayed. Settings
this property to false causes all items regardless of their length to be displayed in the
main view.
Boolean
value.public void setEnableDayItems(java.lang.Boolean value)
By default, items longer than 1 day or items marked as AllDayEvent
are displayed in the day header of the view. If the day header is not displayed (that is,
getShowDayHeader()
is set to false) then these items are never displayed. Settings
this property to false causes all items regardless of their length to be displayed in the
main view.
value
- A Boolean
value.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getShowItemSpans()
public void setShowItemSpans(java.lang.Boolean value)
value
- true to display item duration projections; otherwise, false.
Set to null to use the corresponding value from the current theme.public java.lang.Integer getItemOffset()
public void setItemOffset(java.lang.Integer value)
value
- A non-negative integer value specifying the item offset in pixels.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getEnableAutoDayChange()
Timetable
view will automatically scroll one day forth and back when the user moves
the mouse at the top or at the bottom of the view.Boolean
value.public void setEnableAutoDayChange(java.lang.Boolean value)
Timetable
view will automatically scroll one day forth and back when the user moves
the mouse at the top or at the bottom of the view.value
- A Boolean
value.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getEnableCollisions()
Turn this flag off if you don't need collision detection to improve performance.
Boolean
value.public void setEnableCollisions(java.lang.Boolean value)
Turn this flag off if you don't need collision detection to improve performance.
value
- A Boolean
value.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getEnableWorkOnWeekends()
Boolean
value.public void setEnableWorkOnWeekends(java.lang.Boolean value)
value
- A Boolean
value.
Set to null to use the corresponding value from the current theme.public java.lang.Boolean getAllowReorderResources()
Boolean
value.public void setAllowReorderResources(java.lang.Boolean value)
value
- A Boolean
value.
Set to null to use the corresponding value from the current theme.public java.awt.Color getReorderIndicatorColor()
public void setReorderIndicatorColor(java.awt.Color value)
value
- A Color object specifying the color of reorder indicator.public java.lang.Integer getReorderIndicatorWidth()
public void setReorderIndicatorWidth(java.lang.Integer value)
value
- An Integer object specifying the width of reorder indicator.