public abstract class DroppableBehavior extends JQueryBehavior
Modifier and Type | Field and Description |
---|---|
protected String |
id |
JS_JQUERY, JS_JQUERY_UI
Constructor and Description |
---|
DroppableBehavior(String id) |
Modifier and Type | Method and Description |
---|---|
protected abstract org.apache.wicket.MarkupContainer |
getDropContainer()
Should return the container that contains all the droppable
targets.
|
protected void |
onBind() |
protected abstract void |
onDrop(org.apache.wicket.Component component,
org.apache.wicket.ajax.AjaxRequestTarget target) |
void |
renderHead(org.apache.wicket.markup.html.IHeaderResponse response) |
protected void |
respond(org.apache.wicket.ajax.AjaxRequestTarget target) |
findIndicatorId, generateCallbackScript, getAjaxCallDecorator, getCallbackScript, getCallbackScript, getChannelName, getFailureScript, getPreconditionScript, getSuccessScript, onRequest, throttleScript
bind, getCallbackUrl, getCallbackUrl, getComponent, getImplementationId, getStatelessHint, onComponentRendered, onComponentTag, onComponentTag, onRendered, onRenderHeadContribution, onRenderHeadInitContribution
protected String id
public DroppableBehavior(String id)
protected void onBind()
onBind
in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
public void renderHead(org.apache.wicket.markup.html.IHeaderResponse response)
renderHead
in interface org.apache.wicket.markup.html.IHeaderContributor
renderHead
in class JQueryBehavior
protected void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
respond
in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
protected abstract void onDrop(org.apache.wicket.Component component, org.apache.wicket.ajax.AjaxRequestTarget target)
protected abstract org.apache.wicket.MarkupContainer getDropContainer()