Class DropBehavior
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.apache.wicket.behavior.AbstractAjaxBehavior
-
- org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
- org.hippoecm.frontend.plugins.yui.AbstractYuiAjaxBehavior
-
- org.hippoecm.frontend.plugins.yui.dragdrop.AbstractDragDropBehavior
-
- org.hippoecm.frontend.plugins.yui.dragdrop.DropBehavior
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.IComponentAwareEventSink
,org.apache.wicket.IRequestListener
,org.apache.wicket.markup.html.IComponentAwareHeaderContributor
,org.apache.wicket.util.io.IClusterable
public abstract class DropBehavior extends AbstractDragDropBehavior
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.hippoecm.frontend.plugins.yui.dragdrop.AbstractDragDropBehavior
settings
-
-
Constructor Summary
Constructors Constructor Description DropBehavior(DragDropSettings settings)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected String
getClientSideClassname()
Specify the clientside class that is used as the DragDropModelString
getComponentMarkupId()
protected String
getHeaderContributorFilename()
Provide the name of the javascript file that should be loaded on the clientabstract void
onDrop(org.apache.wicket.model.IModel model, org.apache.wicket.request.IRequestParameters parameters, org.apache.wicket.ajax.AjaxRequestTarget target)
protected void
respond(org.apache.wicket.ajax.AjaxRequestTarget target)
-
Methods inherited from class org.hippoecm.frontend.plugins.yui.dragdrop.AbstractDragDropBehavior
addHeaderContribution, getHeaderContributorClass, renderHead
-
Methods inherited from class org.hippoecm.frontend.plugins.yui.AbstractYuiAjaxBehavior
onRenderHead, updateAjaxAttributes, updateAjaxSettings
-
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes
-
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
-
Methods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag
-
-
-
-
Constructor Detail
-
DropBehavior
public DropBehavior(DragDropSettings settings)
-
-
Method Detail
-
getHeaderContributorFilename
protected String getHeaderContributorFilename()
Description copied from class:AbstractDragDropBehavior
Provide the name of the javascript file that should be loaded on the client- Specified by:
getHeaderContributorFilename
in classAbstractDragDropBehavior
- Returns:
- Filename of the javascript
-
getComponentMarkupId
public String getComponentMarkupId()
-
respond
protected void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
- Specified by:
respond
in classorg.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
getClientSideClassname
protected String getClientSideClassname()
Description copied from class:AbstractDragDropBehavior
Specify the clientside class that is used as the DragDropModel- Specified by:
getClientSideClassname
in classAbstractDragDropBehavior
-
onDrop
public abstract void onDrop(org.apache.wicket.model.IModel model, org.apache.wicket.request.IRequestParameters parameters, org.apache.wicket.ajax.AjaxRequestTarget target)
-
-