Class DatesSetEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<FullCalendar>
io.jmix.fullcalendarflowui.component.event.DatesSetEvent
- All Implemented Interfaces:
Serializable
The event is fired after the calendar’s date range has been initially set or changed in some way
and the DOM of component has been updated.
The calendar’s dates can change any time the user does the following:
- navigates to next and previous;
- switches the display mode;
-
clicks a navigation link (e.g. week or day if
JmixFullCalendar.isNavigationLinksEnabled()
istrue
).
JmixFullCalendar.navigateToDate(LocalDate)
is called.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final DisplayModeInfo
protected final LocalDate
protected final LocalDate
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionDatesSetEvent
(FullCalendar fullCalendar, boolean fromClient, LocalDate startDate, LocalDate endDate, DisplayModeInfo displayModeInfo) -
Method Summary
Modifier and TypeMethodDescriptionNote, this value is exclusive.Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
startDate
-
endDate
-
displayModeInfo
-
-
Constructor Details
-
DatesSetEvent
public DatesSetEvent(FullCalendar fullCalendar, boolean fromClient, LocalDate startDate, LocalDate endDate, DisplayModeInfo displayModeInfo)
-
-
Method Details
-
getStartDate
- Returns:
- the beginning of the range the calendar needs events for
-
getEndDate
Note, this value is exclusive.- Returns:
- the end of the range the calendar needs events for
-
getDisplayModeInfo
- Returns:
- information about current calendar's display mode
-