Class NodeDragBehavior
- 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
-
- org.hippoecm.frontend.plugins.yui.dragdrop.NodeDragBehavior
-
- 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:
ImageNodeDragBehavior
public class NodeDragBehavior extends DragBehavior
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.hippoecm.frontend.plugins.yui.dragdrop.DragBehavior
dragSettings
-
Fields inherited from class org.hippoecm.frontend.plugins.yui.dragdrop.AbstractDragDropBehavior
settings
-
-
Constructor Summary
Constructors Constructor Description NodeDragBehavior(DragSettings settings, JcrNodeModel nodeModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
detach(org.apache.wicket.Component component)
protected org.apache.wicket.model.IModel
getDragModel()
Lookup and return the IModel that will be used to drop on the dropBehaviorprotected String
getLabel()
protected void
updateAjaxSettings()
-
Methods inherited from class org.hippoecm.frontend.plugins.yui.dragdrop.DragBehavior
getClientSideClassname, getHeaderContributorFilename, lookupDropBehavior, respond
-
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
-
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, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag
-
-
-
-
Constructor Detail
-
NodeDragBehavior
public NodeDragBehavior(DragSettings settings, JcrNodeModel nodeModel)
-
-
Method Detail
-
updateAjaxSettings
protected void updateAjaxSettings()
- Overrides:
updateAjaxSettings
in classAbstractYuiAjaxBehavior
-
getDragModel
protected org.apache.wicket.model.IModel getDragModel()
Description copied from class:DragBehavior
Lookup and return the IModel that will be used to drop on the dropBehavior- Specified by:
getDragModel
in classDragBehavior
-
getLabel
protected String getLabel()
-
detach
public void detach(org.apache.wicket.Component component)
- Overrides:
detach
in classorg.apache.wicket.behavior.Behavior
-
-