java.lang.Object
com.dlsc.gemsfx.CalendarView.SelectionModel
- Enclosing class:
CalendarView
-
Property Summary
TypePropertyDescriptionfinal javafx.beans.property.ObjectProperty<LocalDate>
final javafx.beans.property.ListProperty<LocalDate>
final javafx.beans.property.ObjectProperty<LocalDate>
final javafx.beans.property.ObjectProperty<CalendarView.SelectionModel.SelectionMode>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearAndSelect
(LocalDate date) final void
void
clearSelection
(LocalDate date) final LocalDate
Gets the value of theselectedDate
property.final javafx.collections.ObservableList<LocalDate>
Gets the value of theselectedDates
property.final LocalDate
Gets the value of theselectedEndDate
property.Gets the value of theselectionMode
property.boolean
isSelected
(LocalDate date) void
final javafx.beans.property.ObjectProperty<LocalDate>
final javafx.beans.property.ListProperty<LocalDate>
final javafx.beans.property.ObjectProperty<LocalDate>
final javafx.beans.property.ObjectProperty<CalendarView.SelectionModel.SelectionMode>
final void
setSelectedDate
(LocalDate selectedDate) Sets the value of theselectedDate
property.final void
setSelectedDates
(javafx.collections.ObservableList<LocalDate> selectedDates) Sets the value of theselectedDates
property.final void
setSelectedEndDate
(LocalDate selectedEndDate) Sets the value of theselectedEndDate
property.final void
setSelectionMode
(CalendarView.SelectionModel.SelectionMode selectionMode) Sets the value of theselectionMode
property.
-
Property Details
-
selectionMode
public final javafx.beans.property.ObjectProperty<CalendarView.SelectionModel.SelectionMode> selectionModeProperty -
selectedDate
-
selectedEndDate
-
selectedDates
-
-
Constructor Details
-
SelectionModel
public SelectionModel()
-
-
Method Details
-
clearSelection
public final void clearSelection() -
getSelectionMode
Gets the value of theselectionMode
property.- Property description:
- Returns:
- the value of the
selectionMode
property - See Also:
-
selectionModeProperty
public final javafx.beans.property.ObjectProperty<CalendarView.SelectionModel.SelectionMode> selectionModeProperty()- Returns:
- the
selectionMode
property - See Also:
-
setSelectionMode
Sets the value of theselectionMode
property.- Property description:
- Parameters:
selectionMode
- the value for theselectionMode
property- See Also:
-
clearAndSelect
-
select
-
clearSelection
-
isSelected
-
getSelectedDate
Gets the value of theselectedDate
property.- Property description:
- Returns:
- the value of the
selectedDate
property - See Also:
-
selectedDateProperty
- Returns:
- the
selectedDate
property - See Also:
-
setSelectedDate
Sets the value of theselectedDate
property.- Property description:
- Parameters:
selectedDate
- the value for theselectedDate
property- See Also:
-
getSelectedEndDate
Gets the value of theselectedEndDate
property.- Property description:
- Returns:
- the value of the
selectedEndDate
property - See Also:
-
selectedEndDateProperty
- Returns:
- the
selectedEndDate
property - See Also:
-
setSelectedEndDate
Sets the value of theselectedEndDate
property.- Property description:
- Parameters:
selectedEndDate
- the value for theselectedEndDate
property- See Also:
-
getSelectedDates
Gets the value of theselectedDates
property.- Property description:
- Returns:
- the value of the
selectedDates
property - See Also:
-
selectedDatesProperty
- Returns:
- the
selectedDates
property - See Also:
-
setSelectedDates
Sets the value of theselectedDates
property.- Property description:
- Parameters:
selectedDates
- the value for theselectedDates
property- See Also:
-