org.wicketstuff.select2
Class DragAndDropBehavior

java.lang.Object
  extended by org.apache.wicket.behavior.Behavior
      extended by org.wicketstuff.select2.DragAndDropBehavior
All Implemented Interfaces:
Serializable, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.markup.html.IComponentAwareHeaderContributor, org.apache.wicket.util.io.IClusterable

public class DragAndDropBehavior
extends org.apache.wicket.behavior.Behavior

Adds drag & drop behavior to Select2MultiChoice components, i.e. the list of selected values can be sorted.

Author:
Tom Götz (tom@decoded.de)
See Also:
Serialized Form

Constructor Summary
DragAndDropBehavior()
           
 
Method Summary
 void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)
           
 
Methods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, bind, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onEvent, onException, onRemove, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DragAndDropBehavior

public DragAndDropBehavior()
Method Detail

renderHead

public void renderHead(org.apache.wicket.Component component,
                       org.apache.wicket.markup.head.IHeaderResponse response)
Specified by:
renderHead in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributor
Overrides:
renderHead in class org.apache.wicket.behavior.Behavior


Copyright © 2018. All rights reserved.