Search
MonthSettings Members
Methods
 


Defines properties that allow customizing the visualization of months in the CalendarView.SingleMonth and CalendarView.MonthRange views.

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

 Public Methods

  Name Description

addChangeListener

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

getCellLayout

Gets the layout of the cells in CalendarView.SingleMonth and CalendarView.MonthRange views.

getContentsMargin

Gets the amount of space between the month's day cells and the month's bounding rectangle.

getDayOfWeekFormat

Gets the format of the day names displayed in the week header.

getDaySettings

Gets the CellSettings object used to customize the visualization of days in CalendarView.SingleMonth and CalendarView.MonthRange views.

getDaySpacing

Gets the amount of space between adjacent days.

getEnableLanes

Gets a value indicating whether the view should take into consideration the lanes associated with item.

getEnableSnapping

Gets a value indicating whether snapping is enabled.

getFilterWeekends

Gets a value indicating whether to hide weekend cells.

getHeaderShadowColor

Gets the color of the header shadows.

getHeaderShadowOffset

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

getHeaderShadowStyle

Gets the style of the shadows cast by headers.

getHeaderSpacing

Gets the amount of space between headers.

getHeaderStyle

Gets the style of the month's header.

getHideTrailingWeeks

Gets a value indicating whether to hide trailing weeks, which do not contain days from the current month.

getLeadingWeekCount

Gets the number of full weeks to display from the previous month.

getMainHeaderHeight

Gets the height of the main header in a month view.

getMargin

Gets the amount of space between the outermost frame of the month and the month's contents.

getPaddingDaysStyle

Gets the Style object used to specify appearance settings for the days from previous and next months, shown when the getShowPaddingDays is enabled.

getRotateWeekHeaderTexts

Gets a value indicating whether the week header texts should be rotated.

getShowDayOfWeek

Gets a value indicating whether the day names are displayed in the month's header.

getShowPaddingDays

Gets a value indicating whether to display days from the previous and next months at the beginning and the end of the current one, in order to fill the whole grid of day cells.

getShowPaddingItems

Gets a value indicating whether to show items in padding days.

getSnapUnit

Gets the snap unit.

getStyle

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

getSubHeaderHeight

Gets the height of the secondary header in a SingleMonth view.

getTitleFormat

Gets the string used to format the month's title.

getTrailingWeekCount

Gets the number of full weeks to display from the next month.

getWeekHeaderFormat

Gets the format of the text displayed for each week in the week header.

getWeekHeaderStyle

Gets the style of the week numbers header.

getWeekNumbersHeaderWidth

Gets the width of the header, which displays week numbers.

removeChangeListener

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

setCellLayout

Sets the layout of the cells in CalendarView.SingleMonth and CalendarView.MonthRange views.

setContentsMargin

Sets the amount of space between the month's day cells and the month's bounding rectangle.

setDayOfWeekFormat

Sets the format of the day names displayed in the week header.

setDaySpacing

Sets the amount of space between adjacent days.

setEnableLanes

Sets a value indicating whether the view should take into consideration the lanes associated with item.

setEnableSnapping

Sets a value indicating whether custom snapping is enabled.

setFilterWeekends

Sets a value indicating whether to hide weekend cells.

setHeaderShadowColor

Sets the color of the header shadows.

setHeaderShadowOffset

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

setHeaderShadowStyle

Sets the style of the shadows cast by headers.

setHeaderSpacing

Sets the amount of space between headers.

setHeaderStyle

Sets the style of the month's header.

setHideTrailingWeeks

Sets a value indicating whether to hide trailing weeks, which do not contain days from the current month.

setLeadingWeekCount

Sets the number of full weeks to display from the previous month.

setMainHeaderHeight

Sets the height of the main header in a month view.

setMargin

Sets the amount of space between the outermost frame of the month and the month's contents.

setPaddingDaysStyle

Sets the Style object used to specify appearance settings for the days from previous and next months, shown when the getShowPaddingDays is enabled.

setRotateWeekHeaderTexts

Sets a value indicating whether the week header texts should be rotated.

setShowDayOfWeek

Sets a value indicating whether the day names are displayed in the month's header.

setShowPaddingDays

Sets a value indicating whether to display days from the previous and next months at the beginning and the end of the current one, in order to fill the whole grid of day cells.

setShowPaddingItems

Sets a value indicating whether to show items in padding days.

setSnapUnit

Sets the snap unit.

setStyle

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

setSubHeaderHeight

Sets the height of the secondary header in a SingleMonth view.

setTitleFormat

Sets the string used to format the month's title.

setTrailingWeekCount

Sets the number of full weeks to display from the next month.

setWeekHeaderFormat

Sets the format of the text displayed for each week in the week header.

setWeekHeaderStyle

Sets the style of the week numbers header.

setWeekNumbersHeaderWidth

Sets the width of the header, which displays week numbers.

 See Also