Package io.jmix.ui.component.calendar
Interface CalendarEventProvider
- All Known Implementing Classes:
ContainerCalendarEventProvider
,ListCalendarEventProvider
public interface CalendarEventProvider
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static interface
Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEvent
(CalendarEvent event) AddsCalendarEvent
to the event provider list.void
Removes allCalendarEvent
in the event provider list.void
removeEvent
(CalendarEvent event) RemovesCalendarEvent
from the event provider list.void
Deprecated.UseSubscription
onject instead
-
Method Details
-
addEvent
AddsCalendarEvent
to the event provider list.Not supported by
EntityCalendarEventProvider
, use datasource for changing data items.- Parameters:
event
- calendar event
-
removeEvent
RemovesCalendarEvent
from the event provider list.Not supported by
EntityCalendarEventProvider
, use datasource for changing data items.- Parameters:
event
- calendar event
-
removeAllEvents
void removeAllEvents()Removes allCalendarEvent
in the event provider list.Not supported by
EntityCalendarEventProvider
, use datasource for changing data items. -
addEventSetChangeListener
Subscription addEventSetChangeListener(Consumer<CalendarEventProvider.EventSetChangeEvent> listener) -
removeEventSetChangeListener
@Deprecated void removeEventSetChangeListener(Consumer<CalendarEventProvider.EventSetChangeEvent> listener) Deprecated.UseSubscription
onject instead- Parameters:
listener
- a listener to remove
-
getEvents
List<CalendarEvent> getEvents()
-
Consumer
instead