Interface ItemsCalendarDataProvider
- All Superinterfaces:
CalendarDataProvider
- All Known Implementing Classes:
ContainerCalendarDataProvider
,ListCalendarDataProvider
Interface to be implemented by data providers that should load a list of events.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
An event that is fired when item set is changed. -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.Registration
Adds an item set change listener.getItems()
Methods inherited from interface io.jmix.fullcalendarflowui.component.data.CalendarDataProvider
getId
-
Method Details
-
getItems
List<CalendarEvent> getItems()- Returns:
- loaded calendar events
-
getItem
- Parameters:
itemId
- ID of calendar event- Returns:
- calendar event or
null
if no event with provided ID
-
addItemSetChangeListener
com.vaadin.flow.shared.Registration addItemSetChangeListener(Consumer<ItemsCalendarDataProvider.ItemSetChangeEvent> listener) Adds an item set change listener.- Parameters:
listener
- listener to add- Returns:
- a registration object for removing an event listener added to a data provider
-