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.ajax.AjaxRequestTarget target)
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, setSelector
add, getJQueryLibrarySettings, renderOnDomReadyScript, renderPriorityHeaderItem, toString
public static final String METHOD
public DatePickerBehavior(String selector, IDatePickerListener listener)
selector
- the html selector (ie: "#myId")listener
- the IDatePickerListener
public DatePickerBehavior(String selector, com.googlecode.wicket.jquery.core.Options options, IDatePickerListener listener)
selector
- the html selector (ie: "#myId")options
- the Options
listener
- the IDatePickerListener
public void bind(org.apache.wicket.Component component)
bind
in class org.apache.wicket.behavior.Behavior
public void destroy(org.apache.wicket.ajax.AjaxRequestTarget target)
JQueryDestroyListener.IDestroyable
destroy
in interface JQueryDestroyListener.IDestroyable
destroy
in class JQueryUIBehavior
target
- the AjaxRequestTarget
public void onConfigure(org.apache.wicket.Component component)
onConfigure
in class JQueryUIBehavior
public void onAjax(org.apache.wicket.ajax.AjaxRequestTarget target, com.googlecode.wicket.jquery.core.JQueryEvent event)
onAjax
in interface com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
protected 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 IJQueryAjaxAware
OnSelectAjaxBehavior
by defaultCopyright © 2016 7thWeb. All rights reserved.