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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, rendersPageMethods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onBind, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindMethods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag, renderHead
-
Constructor Details
-
CalendarModelBehavior
Constructor- Parameters:
model- theCalendarModel
-
-
Method Details
-
setStartDate
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
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
- Specified by:
getResponsein classcom.googlecode.wicket.jquery.core.behavior.AjaxCallbackBehavior
-