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, setSelector
add, getJQueryLibrarySettings, renderOnDomReadyScript, renderPriorityHeaderItem, toString
public static final String METHOD
public DroppableBehavior(String selector, IDroppableListener listener)
selector
- the html selector (ie: "#myId")listener
- the IDroppableListener
public DroppableBehavior(String selector, com.googlecode.wicket.jquery.core.Options options, IDroppableListener listener)
selector
- the html selector (ie: "#myId")options
- the Options
listener
- the IDroppableListener
public void setDraggable(org.apache.wicket.Component draggable)
public void bind(org.apache.wicket.Component component)
bind
in class org.apache.wicket.behavior.Behavior
public void onConfigure(org.apache.wicket.Component component)
onConfigure
in class JQueryUIBehavior
public void onAjax(org.apache.wicket.ajax.AjaxRequestTarget target, com.googlecode.wicket.jquery.core.JQueryEvent event)
onAjax
in interface com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
protected 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 IJQueryAjaxAware
OnDropAjaxBehavior
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 IJQueryAjaxAware
OnOverAjaxBehavior
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 IJQueryAjaxAware
OnExitAjaxBehavior
by defaultCopyright © 2022 7thWeb. All rights reserved.