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
All Methods Instance Methods Concrete Methods 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 Detail
-
SimpleCalendarModel
public SimpleCalendarModel(java.util.List<SimpleCalendarEvent<PAYLOAD>> events)
-
SimpleCalendarModel
public SimpleCalendarModel()
-
-
Method Detail
-
getEventsForInterval
public java.util.List<SimpleCalendarEvent<PAYLOAD>> getEventsForInterval(java.time.Instant start, java.time.Instant end)
-
getEvents
public java.util.List<SimpleCalendarEvent<PAYLOAD>> getEvents()
-
setEvents
public void setEvents(java.util.List<SimpleCalendarEvent<PAYLOAD>> events)
-
addEvent
public void addEvent(SimpleCalendarEvent<PAYLOAD> event)
-
removeEvent
public void removeEvent(SimpleCalendarEvent<PAYLOAD> event)
-
-