public abstract class SchedulerBehavior extends KendoUIBehavior implements com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SchedulerBehavior.CreateEvent
Provides an event object that will be broadcasted by
newOnCreateAjaxBehavior(IJQueryAjaxAware) callback |
protected static class |
SchedulerBehavior.DataSourceAjaxBehavior
Provides a
JQueryAjaxBehavior for handling datasource operations |
protected static class |
SchedulerBehavior.DeleteEvent
Provides an event object that will be broadcasted by
newOnDeleteAjaxBehavior(IJQueryAjaxAware) callback |
protected static class |
SchedulerBehavior.EditEvent
Provides an event object that will be broadcasted by the
SchedulerBehavior.OnEditAjaxBehavior callback |
protected static class |
SchedulerBehavior.NavigateEvent
Provides an event object that will be broadcasted by the
SchedulerBehavior.OnNavigateAjaxBehavior callback |
protected static class |
SchedulerBehavior.OnEditAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'edit' event |
protected static class |
SchedulerBehavior.OnNavigateAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'navigate' event |
protected static class |
SchedulerBehavior.SchedulerPayload
Provides a base class for
SchedulerBehavior event objects |
protected static class |
SchedulerBehavior.UpdateEvent
Provides an event object that will be broadcasted by
newOnUpdateAjaxBehavior(IJQueryAjaxAware) callback |
| Constructor and Description |
|---|
SchedulerBehavior(String selector,
ISchedulerListener listener)
Constructor
|
SchedulerBehavior(String selector,
com.googlecode.wicket.jquery.core.Options options,
ISchedulerListener 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 |
newOnCreateAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the datasource's 'create' event |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnDeleteAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the datasource's 'delete' event |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnEditAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'edit' event, triggered when an event is edited |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnNavigateAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'navigate' event, triggered when the user is navigating in the scheduler |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnUpdateAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the datasource's 'update' event |
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(SchedulerDataSource dataSource)
Configure the
SchedulerDataSource with additional options |
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response) |
add, destroy, onDestroy, 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 SchedulerBehavior(String selector, ISchedulerListener listener)
selector - the html selector (ie: "#myId")listener - the ISchedulerListenerpublic SchedulerBehavior(String selector, com.googlecode.wicket.jquery.core.Options options, ISchedulerListener listener)
selector - the html selector (ie: "#myId")options - the Optionslistener - the ISchedulerListenerpublic void bind(org.apache.wicket.Component component)
bind in class org.apache.wicket.behavior.Behaviorpublic void renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response)
renderHead in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributorrenderHead in class KendoUIBehaviorpublic void onConfigure(org.apache.wicket.Component component)
onConfigure in class KendoUIBehaviorprotected void onConfigure(SchedulerDataSource dataSource)
SchedulerDataSource with additional optionsdataSource - the SchedulerDataSourcepublic 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 CharSequence getDataSourceUrl()
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnNavigateAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'navigate' event, triggered when the user is navigating in the schedulersource - the IJQueryAjaxAwareOnNavigateAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnEditAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'edit' event, triggered when an event is editedsource - the IJQueryAjaxAwareOnNavigateAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnCreateAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the datasource's 'create' eventsource - the IJQueryAjaxAwareDataSourceAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnUpdateAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the datasource's 'update' eventsource - the IJQueryAjaxAwareDataSourceAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnDeleteAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the datasource's 'delete' eventsource - the IJQueryAjaxAwareDataSourceAjaxBehavior by defaultCopyright © 2021 7thWeb. All rights reserved.