public class JQueryUIBehavior extends com.googlecode.wicket.jquery.core.JQueryBehavior implements JQueryDestroyListener.IDestroyable
Constructor and Description |
---|
JQueryUIBehavior(String selector,
String method)
Constructor
|
JQueryUIBehavior(String selector,
String method,
com.googlecode.wicket.jquery.core.Options options)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
destroy(org.apache.wicket.ajax.AjaxRequestTarget target)
Removes the widget functionality completely.
|
void |
onConfigure(org.apache.wicket.Component component) |
protected void |
onDestroy(org.apache.wicket.ajax.AjaxRequestTarget target)
Called when the widget is about to be destroyed
|
String |
widget()
Gets the jQuery UI object
|
static String |
widget(org.apache.wicket.Component component,
String method)
Gets the jQuery UI widget
|
protected String |
widget(String method)
Gets the jQuery UI object
|
static String |
widget(String selector,
String method)
Gets the jQuery UI widget
|
$, $, $, $, beforeRender, detach, getMethod, getOption, getOptions, getSelector, off, on, on, register, remove, renderHead, setOption, setOption, setOption, setOptions, setSelector
add, getJQueryLibrarySettings, renderOnDomReadyScript, renderPriorityHeaderItem, toString
public JQueryUIBehavior(String selector, String method)
selector
- the html selector (ie: "#myId")method
- the kendo-ui methodpublic String widget()
protected String widget(String method)
method
- the jQuery UI methodpublic static String widget(String selector, String method)
selector
- the widget selectormethod
- the jQuery UI methodpublic static String widget(org.apache.wicket.Component component, String method)
component
- the Component
method
- the jQuery UI methodpublic void destroy(org.apache.wicket.ajax.AjaxRequestTarget target)
JQueryDestroyListener.IDestroyable
destroy
in interface JQueryDestroyListener.IDestroyable
target
- the AjaxRequestTarget
public void onConfigure(org.apache.wicket.Component component)
onConfigure
in class com.googlecode.wicket.jquery.core.JQueryBehavior
protected void onDestroy(org.apache.wicket.ajax.AjaxRequestTarget target)
target
- the AjaxRequestTarget
destroy(AjaxRequestTarget)
Copyright © 2016 7thWeb. All rights reserved.