public class DroppableBehavior extends JQueryUIBehavior implements com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DroppableBehavior.DropEvent
Provides an event object that will be broadcasted by the
DroppableBehavior.OnDropAjaxBehavior callback |
protected static class |
DroppableBehavior.ExitEvent
Provides an event object that will be broadcasted by the
DroppableBehavior.OnExitAjaxBehavior callback |
protected static class |
DroppableBehavior.OnDropAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'drop' event |
protected static class |
DroppableBehavior.OnExitAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'exit' event |
protected static class |
DroppableBehavior.OnOverAjaxBehavior
Provides a
JQueryAjaxBehavior that aims to be wired to the 'over' event |
protected static class |
DroppableBehavior.OverEvent
Provides an event object that will be broadcasted by the
DroppableBehavior.OnOverAjaxBehavior callback |
| Constructor and Description |
|---|
DroppableBehavior(String selector,
IDroppableListener listener)
Constructor
|
DroppableBehavior(String selector,
com.googlecode.wicket.jquery.core.Options options,
IDroppableListener listener)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.apache.wicket.Component component) |
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 |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnExitAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'exit' event |
protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior |
newOnOverAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
Gets a new
JQueryAjaxBehavior that will be wired to the 'over' event |
void |
onAjax(org.apache.wicket.ajax.AjaxRequestTarget target,
com.googlecode.wicket.jquery.core.JQueryEvent event) |
void |
onConfigure(org.apache.wicket.Component component) |
void |
setDraggable(org.apache.wicket.Component draggable) |
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 DroppableBehavior(String selector, IDroppableListener listener)
selector - the html selector (ie: "#myId")listener - the IDroppableListenerpublic DroppableBehavior(String selector, com.googlecode.wicket.jquery.core.Options options, IDroppableListener listener)
selector - the html selector (ie: "#myId")options - the Optionslistener - the IDroppableListenerpublic void setDraggable(org.apache.wicket.Component draggable)
public 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 newOnDropAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'drop' eventsource - the IJQueryAjaxAwareOnDropAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnOverAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'over' eventsource - the IJQueryAjaxAwareOnOverAjaxBehavior by defaultprotected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnExitAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
JQueryAjaxBehavior that will be wired to the 'exit' eventsource - the IJQueryAjaxAwareOnExitAjaxBehavior by defaultCopyright © 2017 7thWeb. All rights reserved.