Class SimpleCalendarModel<PAYLOAD>
java.lang.Object
org.teamapps.ux.component.calendar.AbstractCalendarModel<SimpleCalendarEvent<PAYLOAD>>
org.teamapps.ux.component.calendar.SimpleCalendarModel<PAYLOAD>
- All Implemented Interfaces:
CalendarModel<SimpleCalendarEvent<PAYLOAD>>
public class SimpleCalendarModel<PAYLOAD> extends AbstractCalendarModel<SimpleCalendarEvent<PAYLOAD>>
-
Field Summary
Fields inherited from class org.teamapps.ux.component.calendar.AbstractCalendarModel
onCalendarDataChanged -
Constructor Summary
Constructors Constructor Description SimpleCalendarModel()SimpleCalendarModel(java.util.List<SimpleCalendarEvent<PAYLOAD>> events) -
Method Summary
Modifier and Type Method Description voidaddEvent(SimpleCalendarEvent<PAYLOAD> event)java.util.List<SimpleCalendarEvent<PAYLOAD>>getEvents()java.util.List<SimpleCalendarEvent<PAYLOAD>>getEventsForInterval(java.time.Instant start, java.time.Instant end)voidremoveEvent(SimpleCalendarEvent<PAYLOAD> event)voidsetEvents(java.util.List<SimpleCalendarEvent<PAYLOAD>> events)Methods inherited from class org.teamapps.ux.component.calendar.AbstractCalendarModel
onCalendarDataChanged
-
Constructor Details
-
SimpleCalendarModel
-
SimpleCalendarModel
public SimpleCalendarModel()
-
-
Method Details
-
getEventsForInterval
public java.util.List<SimpleCalendarEvent<PAYLOAD>> getEventsForInterval(java.time.Instant start, java.time.Instant end) -
getEvents
-
setEvents
-
addEvent
-
removeEvent
-