Class DragBehavior

java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
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:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected DragSettings
     

    Fields inherited from class org.hippoecm.frontend.plugins.yui.dragdrop.AbstractDragDropBehavior

    settings

    Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior

    INDICATOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    Specify the clientside class that is used as the DragDropModel
    protected abstract org.apache.wicket.model.IModel
    Lookup and return the IModel that will be used to drop on the dropBehavior
    protected String
    Provide the name of the javascript file that should be loaded on the client
    protected 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

  • Constructor Details

  • Method Details

    • respond

      protected void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
      Specified by:
      respond in class org.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 class AbstractDragDropBehavior
      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 class AbstractDragDropBehavior