Class DragBehavior
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.DragBehavior
- All Implemented Interfaces:
Serializable
,org.apache.wicket.IComponentAwareEventSink
,org.apache.wicket.IRequestListener
,org.apache.wicket.markup.html.IComponentAwareHeaderContributor
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
NodeDragBehavior
- See Also:
-
Field Summary
Fields inherited from class org.hippoecm.frontend.plugins.yui.dragdrop.AbstractDragDropBehavior
settings
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Specify the clientside class that is used as the DragDropModelprotected abstract org.apache.wicket.model.IModel
Lookup and return the IModel that will be used to drop on the dropBehaviorprotected String
Provide the name of the javascript file that should be loaded on the clientprotected boolean
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.wicket.IRequestListener
rendersPage
-
Field Details
-
dragSettings
-
-
Constructor Details
-
DragBehavior
-
-
Method Details
-
respond
protected void respond(org.apache.wicket.ajax.AjaxRequestTarget target) - Specified by:
respond
in classorg.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
getDragModel
protected abstract org.apache.wicket.model.IModel getDragModel()Lookup and return the IModel that will be used to drop on the dropBehavior -
lookupDropBehavior
protected boolean lookupDropBehavior() -
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
-
getClientSideClassname
Description copied from class:AbstractDragDropBehavior
Specify the clientside class that is used as the DragDropModel- Specified by:
getClientSideClassname
in classAbstractDragDropBehavior
-