Class CalendarModel
java.lang.Object
org.apache.wicket.model.LoadableDetachableModel<List<? extends CalendarEvent>>
com.googlecode.wicket.jquery.ui.calendar.CalendarModel
- All Implemented Interfaces:
Serializable,org.apache.wicket.model.IDetachable,org.apache.wicket.model.IModel<List<? extends CalendarEvent>>,org.apache.wicket.util.io.IClusterable
public abstract class CalendarModel
extends org.apache.wicket.model.LoadableDetachableModel<List<? extends CalendarEvent>>
Base class for implementing the list model of
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.- Author:
- Sebastien Briquet - sebfz1
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.wicket.model.LoadableDetachableModel
detach, getObject, isAttached, load, of, onAttach, onDetach, setObject, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.wicket.model.IModel
combineWith, filter, flatMap, isPresent, map, orElse, orElseGet
-
Constructor Details
-
CalendarModel
public CalendarModel()Constructor
-
-
Method Details
-
getStart
- Returns:
- the start date
-
setStart
Sets the start date.- Parameters:
date- the start date
-
getEnd
- Returns:
- the start date
-
setEnd
Gets the end date.- Parameters:
date- the start date
-