org.wicketstuff.scriptaculous.dragdrop
Class SortableBehavior

java.lang.Object
  extended by org.apache.wicket.behavior.AbstractBehavior
      extended by org.apache.wicket.behavior.AbstractAjaxBehavior
          extended by org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
              extended by org.wicketstuff.scriptaculous.ScriptaculousAjaxBehavior
                  extended by org.wicketstuff.scriptaculous.dragdrop.DraggableBehavior
                      extended by org.wicketstuff.scriptaculous.dragdrop.SortableBehavior
All Implemented Interfaces:
java.io.Serializable, org.apache.wicket.behavior.IBehavior, org.apache.wicket.behavior.IBehaviorListener, org.apache.wicket.IClusterable, org.apache.wicket.IRequestListener, org.apache.wicket.markup.html.IHeaderContributor

public class SortableBehavior
extends DraggableBehavior

add sortable behavior to a given component. inherits all configuration options from DraggableBehavior.

See Also:
DraggableBehavior, http://github.com/madrobby/scriptaculous/wikis/sortable, Serialized Form

Field Summary
 
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR
 
Fields inherited from interface org.apache.wicket.behavior.IBehaviorListener
INTERFACE
 
Constructor Summary
SortableBehavior()
           
 
Method Summary
protected  void onComponentRendered()
           
protected  void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
           
 void setDropOnEmpty(boolean value)
           
 void setHoverClass(java.lang.String className)
           
 void setScrollSensitivity(int value)
           
 void setScrollSpeed(int value)
           
 
Methods inherited from class org.wicketstuff.scriptaculous.dragdrop.DraggableBehavior
onBind, setConstraintHorizontal, setConstraintVertical, setGhosting, setRevert, setSnap, setZIndex
 
Methods inherited from class org.wicketstuff.scriptaculous.ScriptaculousAjaxBehavior
newJavascriptBindingBehavior, renderHead
 
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, generateCallbackScript, getAjaxCallDecorator, getCallbackScript, getCallbackScript, getChannelName, getFailureScript, getPreconditionScript, getSuccessScript, onRequest, throttleScript
 
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
bind, getCallbackUrl, getCallbackUrl, getComponent, getImplementationId, getStatelessHint, onComponentTag, onComponentTag, onRendered, onRenderHeadContribution, onRenderHeadInitContribution
 
Methods inherited from class org.apache.wicket.behavior.AbstractBehavior
afterRender, beforeRender, cleanup, detach, detachModel, exception, isEnabled, isTemporary, onException, rendered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortableBehavior

public SortableBehavior()
Method Detail

onComponentRendered

protected final void onComponentRendered()
Overrides:
onComponentRendered in class DraggableBehavior

respond

protected final void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
Overrides:
respond in class DraggableBehavior

setScrollSensitivity

public final void setScrollSensitivity(int value)

setScrollSpeed

public final void setScrollSpeed(int value)

setDropOnEmpty

public final void setDropOnEmpty(boolean value)

setHoverClass

public final void setHoverClass(java.lang.String className)


Copyright © 2006-2011 Wicket Stuff. All Rights Reserved.