public abstract class AjaxTreeViewBehavior extends KendoUIBehavior implements com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AjaxTreeViewBehavior.ChangeEvent
Provides an event object that will be broadcasted by the
AjaxTreeViewBehavior.OnChangeAjaxBehavior callback |
protected static class |
AjaxTreeViewBehavior.DropEvent
Provides an event object that will be broadcasted by the
AjaxTreeViewBehavior.OnDropAjaxBehavior callback |
protected static class |
AjaxTreeViewBehavior.ExpandEvent
Provides an event object that will be broadcasted by the
AjaxTreeViewBehavior.OnExpandAjaxBehavior callback |
protected static class |
AjaxTreeViewBehavior.OnChangeAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'change' event |
protected static class |
AjaxTreeViewBehavior.OnDropAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'drop' event |
protected static class |
AjaxTreeViewBehavior.OnExpandAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'expand' event |
| Constructor and Description |
|---|
AjaxTreeViewBehavior(String selector,
ITreeViewListener listener)
Constructor
|
AjaxTreeViewBehavior(String selector,
com.googlecode.wicket.jquery.core.Options options,
ITreeViewListener listener)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.apache.wicket.Component component) |
protected abstract CharSequence |
getDataSourceUrl()
Gets the data-source behavior's url
|
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnChangeAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'change' event, triggered when a node is selected |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnDropAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'drop' event, triggered when a node is selected |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnExpandAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'expand' event, triggered when a node is expanded |
void |
onAjax(org.apache.wicket.ajax.AjaxRequestTarget target,
com.googlecode.wicket.jquery.core.JQueryEvent event) |
void |
onConfigure(org.apache.wicket.Component component) |
protected void |
onConfigure(KendoDataSource.HierarchicalDataSource dataSource)
Configure the
KendoDataSource.HierarchicalDataSource with additional options |
add, destroy, onDestroy, renderHead, widget, widget, widget, widget$, $, $, $, beforeRender, detach, getMethod, getOption, getOptions, getSelector, off, on, on, register, remove, setOption, setOption, setOption, setOptions, setSelectoradd, getJQueryLibrarySettings, renderOnDomReadyScript, renderPriorityHeaderItem, toStringpublic static final String METHOD
public AjaxTreeViewBehavior(String selector, ITreeViewListener listener)
selector - the html selector (ie: "#myId")listener - the ITreeViewListenerpublic AjaxTreeViewBehavior(String selector, com.googlecode.wicket.jquery.core.Options options, ITreeViewListener listener)
selector - the html selector (ie: "#myId")options - the Optionslistener - the ITreeViewListenerpublic void bind(org.apache.wicket.Component component)
bind in class org.apache.wicket.behavior.Behaviorprotected abstract CharSequence getDataSourceUrl()
public void onConfigure(org.apache.wicket.Component component)
onConfigure in class KendoUIBehaviorprotected void onConfigure(KendoDataSource.HierarchicalDataSource dataSource)
KendoDataSource.HierarchicalDataSource with additional optionsdataSource - the KendoDataSource.HierarchicalDataSourcepublic 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 com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnChangeAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'change' event, triggered when a node is selectedsource - the IJQueryAjaxAwareJQueryAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnExpandAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'expand' event, triggered when a node is expandedsource - the IJQueryAjaxAwareJQueryAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnDropAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'drop' event, triggered when a node is selectedsource - the IJQueryAjaxAwareJQueryAjaxBehavior by defaultCopyright © 2021 7thWeb. All rights reserved.