Search
Selection Methods
 


 Public Methods

  Name Description

add

Overloaded. Adds a date or range of date to the selection.

addChangeListener

Adds a ChangeListener to the selection.

contains

Determines whether the specified date is currently selected.

containsDay

Determines whether any part of the specified day is selected.

getAllowMultiple

Gets a value indicating whether users are allowed to select multiple elements at a time.

getContinuous

Gets a value indicating whether users can select only one range of dates in the calendar.

getDayRanges

Gets a read-only collection of DateTime objects, sorted chronologically. Each pair in the collection represents an interval of selected days.

getEnabled

Gets a value indicating whether users are allowed to select any cells in the calendar.

getIsEmpty

Gets a value indicating whether this selection is empty.

getRanges

Gets a read-only collection of DateTime objects, sorted chronologically. Each pair in the collection represents a selected time range.

getResource

Gets the resource related to the current selection.

getResources

Gets the resources related to the current selection.

getSelectedElementsStyle

Gets the visualization style to apply to selected elements.

getStyle

Gets the style of the selection frame drawn around selected calendar cells.

remove

Overloaded. Removes a date or range of date from the selection.

removeChangeListener

Removes the specified ChangeListener from the selection.

reset

Clears the selection.

restore

Restores a previously saved state.

save

Saves the current selection state.

set

Overloaded. Selects a date or range of dates.

setAllowMultiple

Sets a value indicating whether users are allowed to select multiple elements at a time.

setContinuous

Sets a value indicating whether users can select only one range of dates in the calendar.

setEnabled

Sets a value indicating whether users are allowed to select any cells in the calendar.

setSelectedElementsStyle

Sets the visualization style to apply to selected elements.

setStyle

Sets the style of the selection frame drawn around selected calendar cells.

 See Also