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
public abstract class DragBehavior extends AbstractDragDropBehavior
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DragSettings
dragSettings
-
Fields inherited from class org.hippoecm.frontend.plugins.yui.dragdrop.AbstractDragDropBehavior
settings
-
-
Constructor Summary
Constructors Constructor Description DragBehavior(DragSettings 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 DragDropModelprotected abstract org.apache.wicket.model.IModel
getDragModel()
Lookup and return the IModel that will be used to drop on the dropBehaviorprotected String
getHeaderContributorFilename()
Provide the name of the javascript file that should be loaded on the clientprotected boolean
lookupDropBehavior()
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
-
-
-
-
Field Detail
-
dragSettings
protected DragSettings dragSettings
-
-
Constructor Detail
-
DragBehavior
public DragBehavior(DragSettings settings)
-
-
Method Detail
-
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
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
-
getClientSideClassname
protected String getClientSideClassname()
Description copied from class:AbstractDragDropBehavior
Specify the clientside class that is used as the DragDropModel- Specified by:
getClientSideClassname
in classAbstractDragDropBehavior
-
-