Module wicket.bootstrap.extensions
Class Draggable
java.lang.Object
org.apache.wicket.behavior.Behavior
de.agilecoders.wicket.core.markup.html.bootstrap.behavior.BootstrapBaseBehavior
de.agilecoders.wicket.extensions.markup.html.bootstrap.behavior.Draggable
- All Implemented Interfaces:
Serializable,IComponentAwareEventSink,IComponentAwareHeaderContributor,IClusterable
public class Draggable
extends de.agilecoders.wicket.core.markup.html.bootstrap.behavior.BootstrapBaseBehavior
Makes an assigned component draggable.
- Author:
- miha
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected JavaScriptResourceReferencevoidrenderHead(Component component, IHeaderResponse headerResponse) Methods inherited from class de.agilecoders.wicket.core.markup.html.bootstrap.behavior.BootstrapBaseBehavior
addTo, getBootstrapSettings, instance, removeFrom, renderHeadMethods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onComponentTag, onConfigure, onEvent, onException, onRemove, onTag, unbind
-
Constructor Details
-
Draggable
public Draggable()Construct. -
Draggable
Construct.- Parameters:
config- The configuration
-
-
Method Details
-
renderHead
- Specified by:
renderHeadin interfaceIComponentAwareHeaderContributor- Overrides:
renderHeadin classde.agilecoders.wicket.core.markup.html.bootstrap.behavior.BootstrapBaseBehavior
-
newDraggableResourceReference
- Returns:
- new draggable js resource reference
-
bind
-