public class DraggableBehavior extends JQueryUIBehavior implements com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DraggableBehavior.DraggableEvent
Provides a base class for
DraggableBehavior event objects |
protected static class |
DraggableBehavior.DragStartEvent
Provides an event object that will be broadcasted by the
DraggableBehavior.OnDragStartAjaxBehavior callback |
protected static class |
DraggableBehavior.DragStopEvent
Provides an event object that will be broadcasted by the
DraggableBehavior.OnDragStopAjaxBehavior callback |
protected static class |
DraggableBehavior.OnDragStartAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'start' event |
protected static class |
DraggableBehavior.OnDragStopAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'stop' event |
| Constructor and Description |
|---|
DraggableBehavior(IDraggableListener listener)
Constructor
|
DraggableBehavior(com.googlecode.wicket.jquery.core.Options options,
IDraggableListener listener)
Constructor
|
DraggableBehavior(String selector,
IDraggableListener listener)
Constructor
|
DraggableBehavior(String selector,
com.googlecode.wicket.jquery.core.Options options,
IDraggableListener listener)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.apache.wicket.Component component) |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnDragStartAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'start' event |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnDragStopAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'stop' event |
void |
onAjax(org.apache.wicket.ajax.AjaxRequestTarget target,
com.googlecode.wicket.jquery.core.JQueryEvent event) |
void |
onConfigure(org.apache.wicket.Component component) |
destroy, onDestroy, widget, widget, widget, widget$, $, $, $, beforeRender, detach, getMethod, getOption, getOptions, getSelector, off, on, on, register, remove, renderHead, setOption, setOption, setOption, setOptions, setSelectoradd, getJQueryLibrarySettings, renderOnDomReadyScript, renderPriorityHeaderItem, toStringpublic static final String METHOD
public DraggableBehavior(IDraggableListener listener)
listener - the IDraggableListenerpublic DraggableBehavior(String selector, IDraggableListener listener)
selector - the html selector (ie: "#myId")listener - the IDraggableListenerpublic DraggableBehavior(com.googlecode.wicket.jquery.core.Options options,
IDraggableListener listener)
options - the Optionslistener - the IDraggableListenerpublic DraggableBehavior(String selector, com.googlecode.wicket.jquery.core.Options options, IDraggableListener listener)
selector - the html selector (ie: "#myId")options - the Optionslistener - the IDraggableListenerpublic void bind(org.apache.wicket.Component component)
bind in class org.apache.wicket.behavior.Behaviorpublic void onConfigure(org.apache.wicket.Component component)
onConfigure in class JQueryUIBehaviorpublic 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 newOnDragStartAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'start' eventsource - the IJQueryAjaxAwareOnDragStartAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnDragStopAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'stop' eventsource - the IJQueryAjaxAwareOnDragStopAjaxBehavior by defaultCopyright © 2017 7thWeb. All rights reserved.