public abstract class DatePickerBehavior extends JQueryUIBehavior implements com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DatePickerBehavior.OnSelectAjaxBehavior
Provides a
JQueryAjaxPostBehavior that aims to be wired to the 'onSelect' event |
protected static class |
DatePickerBehavior.SelectEvent
Provides an event object that will be broadcasted by the
DatePickerBehavior.OnSelectAjaxBehavior callback |
| Constructor and Description |
|---|
DatePickerBehavior(String selector,
IDatePickerListener listener)
Constructor
|
DatePickerBehavior(String selector,
com.googlecode.wicket.jquery.core.Options options,
IDatePickerListener listener)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.apache.wicket.Component component) |
void |
destroy(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler)
Removes the widget functionality completely.
|
protected abstract com.googlecode.wicket.jquery.core.ajax.JQueryAjaxPostBehavior |
newOnSelectAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxPostBehavior that will be wired to the 'onSelect' event |
void |
onAjax(org.apache.wicket.ajax.AjaxRequestTarget target,
com.googlecode.wicket.jquery.core.JQueryEvent event) |
void |
onConfigure(org.apache.wicket.Component component) |
onDestroy, widget, widget, widget, widget$, $, $, $, beforeRender, detach, getMethod, getOption, getOptions, getSelector, off, on, on, register, remove, renderHead, setOption, setOption, setOption, setOptions, setSelectoradd, getJQueryLibrarySettings, renderOnDomReadyScript, renderPriorityHeaderItem, toStringpublic static final String METHOD
public DatePickerBehavior(String selector, IDatePickerListener listener)
selector - the html selector (ie: "#myId")listener - the IDatePickerListenerpublic DatePickerBehavior(String selector, com.googlecode.wicket.jquery.core.Options options, IDatePickerListener listener)
selector - the html selector (ie: "#myId")options - the Optionslistener - the IDatePickerListenerpublic void bind(org.apache.wicket.Component component)
bind in class org.apache.wicket.behavior.Behaviorpublic void destroy(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler)
JQueryDestroyListener.IDestroyabledestroy in interface JQueryDestroyListener.IDestroyabledestroy in class JQueryUIBehaviorhandler - the IPartialPageRequestHandlerpublic void onConfigure(org.apache.wicket.Component component)
onConfigure in class JQueryUIBehaviorpublic void onAjax(org.apache.wicket.ajax.AjaxRequestTarget target,
com.googlecode.wicket.jquery.core.JQueryEvent event)
onAjax in interface com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAwareprotected abstract com.googlecode.wicket.jquery.core.ajax.JQueryAjaxPostBehavior newOnSelectAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxPostBehavior that will be wired to the 'onSelect' eventsource - the IJQueryAjaxAwareOnSelectAjaxBehavior by defaultCopyright © 2017 7thWeb. All rights reserved.