public abstract class CalendarModel extends org.apache.wicket.model.LoadableDetachableModel<List<? extends CalendarEvent>>
CalendarEvent to be retrieved.Calendar widget takes those model in constructor; the inheriting class should be able to LoadableDetachableModel.load() events depending on getStart() and getEnd() dates.| Constructor and Description |
|---|
CalendarModel()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
LocalDate |
getEnd()
|
LocalDate |
getStart()
|
void |
setEnd(LocalDate date)
Gets the end date.
|
void |
setStart(LocalDate date)
Sets the start date.
|
detach, getObject, isAttached, load, of, onAttach, onDetach, setObject, toStringpublic LocalDate getStart()
public void setStart(LocalDate date)
date - the start datepublic LocalDate getEnd()
public void setEnd(LocalDate date)
date - the start dateCopyright © 2016 7thWeb. All rights reserved.