Package io.jmix.ui.component.calendar
Class CalendarEventProviderWrapper<V>
java.lang.Object
io.jmix.ui.component.calendar.CalendarEventProviderWrapper<V>
- All Implemented Interfaces:
com.vaadin.v7.ui.components.calendar.event.CalendarEditableEventProvider
,com.vaadin.v7.ui.components.calendar.event.CalendarEventProvider
,com.vaadin.v7.ui.components.calendar.event.CalendarEventProvider.EventSetChangeNotifier
,Serializable
public class CalendarEventProviderWrapper<V>
extends Object
implements com.vaadin.v7.ui.components.calendar.event.CalendarEditableEventProvider, com.vaadin.v7.ui.components.calendar.event.CalendarEventProvider.EventSetChangeNotifier
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.v7.ui.components.calendar.event.CalendarEventProvider
com.vaadin.v7.ui.components.calendar.event.CalendarEventProvider.EventSetChangeEvent, com.vaadin.v7.ui.components.calendar.event.CalendarEventProvider.EventSetChangeListener, com.vaadin.v7.ui.components.calendar.event.CalendarEventProvider.EventSetChangeNotifier
-
Field Summary
Modifier and TypeFieldDescriptionprotected CalendarEventProvider
protected List<com.vaadin.v7.ui.components.calendar.event.CalendarEvent>
protected List<com.vaadin.v7.ui.components.calendar.event.CalendarEventProvider.EventSetChangeListener>
-
Constructor Summary
ConstructorDescriptionCalendarEventProviderWrapper
(CalendarEventProvider calendarEventProvider, Function<V, Date> modelToPresentationConverter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEvent
(com.vaadin.v7.ui.components.calendar.event.CalendarEvent event) void
addEventSetChangeListener
(com.vaadin.v7.ui.components.calendar.event.CalendarEventProvider.EventSetChangeListener listener) protected void
List<com.vaadin.v7.ui.components.calendar.event.CalendarEvent>
void
removeEvent
(com.vaadin.v7.ui.components.calendar.event.CalendarEvent event) void
removeEventSetChangeListener
(com.vaadin.v7.ui.components.calendar.event.CalendarEventProvider.EventSetChangeListener listener)
-
Field Details
-
calendarEventProvider
-
itemsCache
-
listeners
protected List<com.vaadin.v7.ui.components.calendar.event.CalendarEventProvider.EventSetChangeListener> listeners -
modelToPresentationConverter
-
-
Constructor Details
-
CalendarEventProviderWrapper
public CalendarEventProviderWrapper(CalendarEventProvider calendarEventProvider, Function<V, Date> modelToPresentationConverter)
-
-
Method Details
-
fireEventSetChange
protected void fireEventSetChange() -
getCalendarEventProvider
-
addEvent
public void addEvent(com.vaadin.v7.ui.components.calendar.event.CalendarEvent event) - Specified by:
addEvent
in interfacecom.vaadin.v7.ui.components.calendar.event.CalendarEditableEventProvider
-
removeEvent
public void removeEvent(com.vaadin.v7.ui.components.calendar.event.CalendarEvent event) - Specified by:
removeEvent
in interfacecom.vaadin.v7.ui.components.calendar.event.CalendarEditableEventProvider
-
getEvents
public List<com.vaadin.v7.ui.components.calendar.event.CalendarEvent> getEvents(Date startDate, Date endDate) - Specified by:
getEvents
in interfacecom.vaadin.v7.ui.components.calendar.event.CalendarEventProvider
-
addEventSetChangeListener
public void addEventSetChangeListener(com.vaadin.v7.ui.components.calendar.event.CalendarEventProvider.EventSetChangeListener listener) - Specified by:
addEventSetChangeListener
in interfacecom.vaadin.v7.ui.components.calendar.event.CalendarEventProvider.EventSetChangeNotifier
-
removeEventSetChangeListener
public void removeEventSetChangeListener(com.vaadin.v7.ui.components.calendar.event.CalendarEventProvider.EventSetChangeListener listener) - Specified by:
removeEventSetChangeListener
in interfacecom.vaadin.v7.ui.components.calendar.event.CalendarEventProvider.EventSetChangeNotifier
-