public abstract class AbstractDragDropBehavior extends AbstractYuiAjaxBehavior
Modifier and Type | Field and Description |
---|---|
protected DragDropSettings |
settings |
Constructor and Description |
---|
AbstractDragDropBehavior(DragDropSettings settings) |
Modifier and Type | Method and Description |
---|---|
void |
addHeaderContribution(IYuiContext context)
Override this method to get access to the IYuiContext
|
protected abstract String |
getClientSideClassname()
Specify the clientside class that is used as the DragDropModel
|
protected Class<? extends org.apache.wicket.behavior.Behavior> |
getHeaderContributorClass()
Return a class from the same package as the javascript file you want to load
|
protected abstract String |
getHeaderContributorFilename()
Provide the name of the javascript file that should be loaded on the client
|
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response)
Don't call super since WicketAjax is loaded by Yui webapp behavior
TODO: webapp ajax is configurable, maybe check here and still load it.
|
onRenderHead, updateAjaxAttributes, updateAjaxSettings
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, getChannel, getFailureScript, getPreconditionScript, getSuccessScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, respond
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
protected final DragDropSettings settings
public AbstractDragDropBehavior(DragDropSettings settings)
public void addHeaderContribution(IYuiContext context)
AbstractYuiAjaxBehavior
addHeaderContribution
in class AbstractYuiAjaxBehavior
context
- The IYuiContext this behavior can use to register YUI-modules and the likes.public void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)
AbstractYuiAjaxBehavior
renderHead
in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributor
renderHead
in class AbstractYuiAjaxBehavior
protected Class<? extends org.apache.wicket.behavior.Behavior> getHeaderContributorClass()
protected abstract String getHeaderContributorFilename()
protected abstract String getClientSideClassname()
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.