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.core.request.handler.IPartialPageRequestHandler handler)
Removes the widget functionality completely.
|
void |
onConfigure(org.apache.wicket.Component component) |
protected void |
onDestroy(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler)
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, setSelectoradd, getJQueryLibrarySettings, renderOnDomReadyScript, renderPriorityHeaderItem, toStringpublic 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 Componentmethod - the jQuery UI methodpublic void destroy(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler)
JQueryDestroyListener.IDestroyabledestroy in interface JQueryDestroyListener.IDestroyablehandler - the IPartialPageRequestHandlerpublic void onConfigure(org.apache.wicket.Component component)
onConfigure in class com.googlecode.wicket.jquery.core.JQueryBehaviorprotected void onDestroy(org.apache.wicket.core.request.handler.IPartialPageRequestHandler handler)
handler - the IPartialPageRequestHandlerdestroy(IPartialPageRequestHandler)Copyright © 2017 7thWeb. All rights reserved.