Class CalendarModelBehavior
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.apache.wicket.behavior.AbstractAjaxBehavior
-
- com.googlecode.wicket.jquery.core.behavior.AjaxCallbackBehavior
-
- com.googlecode.wicket.jquery.ui.calendar.CalendarModelBehavior
-
- All Implemented Interfaces:
Serializable,org.apache.wicket.IComponentAwareEventSink,org.apache.wicket.IRequestListener,org.apache.wicket.markup.html.IComponentAwareHeaderContributor,org.apache.wicket.util.io.IClusterable
public class CalendarModelBehavior extends com.googlecode.wicket.jquery.core.behavior.AjaxCallbackBehavior- Author:
- Sebastien Briquet - sebfz1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CalendarModelBehavior(CalendarModel model)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetResponse(org.apache.wicket.request.IRequestParameters parameters)protected voidsetEndDate(CalendarModel model, LocalDate date)Sets the end date to the model
This can be overridden to perform additional operation on date before the assignment.protected voidsetStartDate(CalendarModel model, LocalDate date)Sets the start date to the model
This can be overridden to perform additional operation on date before the assignment.-
Methods inherited from class com.googlecode.wicket.jquery.core.behavior.AjaxCallbackBehavior
onRequest, rendersPage
-
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onBind, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
-
-
-
-
Constructor Detail
-
CalendarModelBehavior
public CalendarModelBehavior(CalendarModel model)
Constructor- Parameters:
model- theCalendarModel
-
-
Method Detail
-
setStartDate
protected void setStartDate(CalendarModel model, LocalDate date)
Sets the start date to the model
This can be overridden to perform additional operation on date before the assignment.- Parameters:
model- theCalendarModeldate- theLocalDate
-
setEndDate
protected void setEndDate(CalendarModel model, LocalDate date)
Sets the end date to the model
This can be overridden to perform additional operation on date before the assignment.- Parameters:
model- theCalendarModeldate- theLocalDate
-
getResponse
protected String getResponse(org.apache.wicket.request.IRequestParameters parameters)
- Specified by:
getResponsein classcom.googlecode.wicket.jquery.core.behavior.AjaxCallbackBehavior
-
-