Search
WeekRangeSettings Members
Methods
 


Defines properties that allow customizing the visualization of in CalendarView.WeekRange view.

The following tables list the members exposed by the WeekRangeSettings type.

 Public Methods

  Name Description

addChangeListener

Adds a ChangeListener to the view settings. (Inherited from ViewSettings.)

getDayDistance

Gets the distance between adjacent days.

getDayNamesHeaderHeight

Gets the height of the day-names header in the CalendarView.WeekRange view.

getDayOfWeekFormat

Gets the display format of the names of the days of the week.

getDaySettings

Gets the CellSettings object used to customize the visualization of days in a CalendarView.WeekRange view.

getEvenMonthsBrush

Gets the brush used to paint the background of all even months' areas in the CalendarView.WeekRange view.

getGroupWeekends

Gets a value indicating whether weekend days are grouped in a single calendar cell. Weekends are always grouped in a WeekRangeViewStyle.SingleWeek view.

getGroupWeekendsTitleSeparator

Gets the separator string displayed between the weekend day names when getGroupWeekends is enabled.

getHeaderShadowColor

Gets the color of the headers' shadows.

getHeaderShadowOffset

Gets the offset of the shadows from the headers that cast them.

getHeaderShadowStyle

Gets the style of the headers' shadows.

getHeaderStyle

Gets the style of the time-period header, displayed above the day-names header.

getMargin

Gets the distance between the outermost border and the rest of the calendar contents.

getNumberOfDays

Gets the total number of days displayed in the CalendarView.WeekRange view.

getOddMonthsBrush

Gets the brush used to paint the background of all odd months' areas in the WeekRange view.

getReferenceHeaderHeight

Gets the height of the resource header in the CalendarView.WeekRange view.

getShowDayOfWeek

Gets a value indicating whether the day names are displayed in the header area of the CalendarView.WeekRange view.

getStyle

Gets the appearance style used to paint calendar elements that don't have a distinct style assigned to them.

getTimePeriodHeaderHeight

Gets the height of the time-period header in the CalendarView.WeekRange view.

getTitleFormat

Gets the format of the calendar's title.

getTitleSeparator

Gets the string used as a separator in the calendar's title.

getViewStyle

Gets the style of the WeekRange view.

getVisibleColumns

Gets the number of columns visible when Calendar.getGroupType is enabled.

getVisibleRows

Gets the number of weeks visible at a time.

removeChangeListener

Removes the specified ChangeListener from the view settings. (Inherited from ViewSettings.)

setDayDistance

Sets the distance between adjacent days.

setDayNamesHeaderHeight

Sets the height of the day-names header in the CalendarView.WeekRange view.

setDayOfWeekFormat

Sets the display format of the names of the days of the week.

setEvenMonthsBrush

Sets the brush used to paint the background of all even months' areas in the CalendarView.WeekRange view.

setGroupWeekends

Sets a value indicating whether weekend days are grouped in a single calendar cell. Weekends are always grouped in a WeekRangeViewStyle.SingleWeek view.

setGroupWeekendsTitleSeparator

Sets the separator string displayed between the weekend day names when getGroupWeekends is enabled.

setHeaderShadowColor

Sets the color of the headers' shadows.

setHeaderShadowOffset

Sets the offset of the shadows from the headers that cast them.

setHeaderShadowStyle

Sets the style of the headers' shadows.

setHeaderStyle

Sets the style of the time-period header, displayed above the day-names header.

setMargin

Sets the distance between the outermost border and the rest of the calendar contents.

setOddMonthsBrush

Sets the brush used to paint the background of all odd months' areas in the WeekRange view.

setReferenceHeaderHeight

Sets the height of the resource header in the CalendarView.WeekRange view.

setShowDayOfWeek

Sets a value indicating whether the day names are displayed in the header area of the CalendarView.WeekRange view.

setStyle

Sets the appearance style used to paint calendar elements that don't have a distinct style assigned to them.

setTimePeriodHeaderHeight

Sets the height of the time-period header in the CalendarView.WeekRange view.

setTitleFormat

Sets the format of the calendar's title.

setTitleSeparator

Sets the string used as a separator in the calendar's title.

setViewStyle

Sets the style of the WeekRange view.

setVisibleColumns

Sets the number of columns visible when Calendar.getGroupType is enabled.

setVisibleRows

Sets the number of weeks visible at a time.

 See Also