public class CalendarBehavior
extends com.googlecode.wicket.jquery.core.JQueryBehavior
implements com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
| Modifier and Type | Class and Description |
|---|---|
protected static class |
CalendarBehavior.ClickEvent
Provides an event object that will be broadcasted by the
CalendarBehavior.OnEventClickAjaxBehavior callback |
protected static class |
CalendarBehavior.DayClickEvent
Provides an event object that will be broadcasted by the
CalendarBehavior.OnDayClickAjaxBehavior callback |
protected static class |
CalendarBehavior.DeltaEvent
Provides a base class for
CalendarBehavior event objects that contain a delta time |
protected static class |
CalendarBehavior.DropEvent
Provides an event object that will be broadcasted by the
CalendarBehavior.OnEventDropAjaxBehavior callback |
protected static class |
CalendarBehavior.ObjectDropEvent
Provides an event object that will be broadcasted by the
CalendarBehavior.OnObjectDropAjaxBehavior callback |
protected static class |
CalendarBehavior.OnDayClickAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'dayClick' event |
protected static class |
CalendarBehavior.OnEventClickAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'eventClick' event |
protected static class |
CalendarBehavior.OnEventDropAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'eventDrop' event |
protected static class |
CalendarBehavior.OnEventResizeAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'eventResize' event |
protected static class |
CalendarBehavior.OnObjectDropAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'drop' event |
protected static class |
CalendarBehavior.OnSelectAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'select' event |
protected static class |
CalendarBehavior.OnViewRenderAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'viewRender' event |
protected static class |
CalendarBehavior.ResizeEvent
Provides an event object that will be broadcasted by the
CalendarBehavior.OnEventResizeAjaxBehavior callback |
protected static class |
CalendarBehavior.SelectEvent
Provides an event object that will be broadcasted by the
CalendarBehavior.OnSelectAjaxBehavior callback |
protected static class |
CalendarBehavior.ViewRenderEvent
Provides an event object that will be broadcasted by the
CalendarBehavior.OnViewRenderAjaxBehavior callback |
| Constructor and Description |
|---|
CalendarBehavior(String selector,
ICalendarListener listener)
Constructor
|
CalendarBehavior(String selector,
com.googlecode.wicket.jquery.core.Options options,
ICalendarListener listener)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.apache.wicket.Component component) |
protected boolean |
isEditable()
Indicates whether the Calendar will be editable
|
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnDayClickAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'dayClick' event, triggered when the user clicks on a day cell |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnEventClickAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'eventClick' event, triggered when the user clicks on an event |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnEventDropAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source,
CharSequence precondition)
Gets a new
JQueryAjaxBehavior that will be wired to the 'eventDrop' event, triggered when the user moves (drag & drop) an event |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnEventResizeAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source,
CharSequence precondition)
Gets a new
JQueryAjaxBehavior that will be wired to the 'eventResize' event, triggered when the user resizes an event |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnObjectDropAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'drop' event, triggered when the user drops an event object |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnSelectAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'select' event, triggered when the user select a cell range |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnViewRenderAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'viewRender' event, triggered when the user changes the view, or when any of the date navigation methods are called. |
void |
onAjax(org.apache.wicket.ajax.AjaxRequestTarget target,
com.googlecode.wicket.jquery.core.JQueryEvent event) |
void |
onConfigure(org.apache.wicket.Component component) |
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response) |
$, $, $, $, 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 CalendarBehavior(String selector, ICalendarListener listener)
selector - the html selector (ie: "#myId")listener - the ICalendarListenerpublic CalendarBehavior(String selector, com.googlecode.wicket.jquery.core.Options options, ICalendarListener listener)
selector - the html selector (ie: "#myId")options - the Optionslistener - the ICalendarListenerpublic 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 com.googlecode.wicket.jquery.core.JQueryBehaviorprotected boolean isEditable()
ICalendarListener.isDayClickEnabled() is true or ICalendarListener.isEventClickEnabled() is truepublic void onConfigure(org.apache.wicket.Component component)
onConfigure in class com.googlecode.wicket.jquery.core.JQueryBehaviorpublic 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 newOnSelectAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'select' event, triggered when the user select a cell rangesource - the IJQueryAjaxAwareOnSelectAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnDayClickAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'dayClick' event, triggered when the user clicks on a day cellsource - the IJQueryAjaxAwareOnDayClickAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnEventClickAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'eventClick' event, triggered when the user clicks on an eventsource - the IJQueryAjaxAwareOnEventClickAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnEventDropAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source,
CharSequence precondition)
JQueryAjaxBehavior that will be wired to the 'eventDrop' event, triggered when the user moves (drag & drop) an eventsource - the IJQueryAjaxAwareOnEventDropAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnEventResizeAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source,
CharSequence precondition)
JQueryAjaxBehavior that will be wired to the 'eventResize' event, triggered when the user resizes an eventsource - the IJQueryAjaxAwareOnEventResizeAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnObjectDropAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'drop' event, triggered when the user drops an event objectsource - the IJQueryAjaxAwareOnObjectDropAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnViewRenderAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'viewRender' event, triggered when the user changes the view, or when any of the date navigation methods are called.source - the IJQueryAjaxAwareOnViewRenderAjaxBehavior by defaultCopyright © 2016 7thWeb. All rights reserved.