Module wicket.bootstrap.extensions
Class Resizable
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.Resizable
- All Implemented Interfaces:
Serializable,IComponentAwareEventSink,IComponentAwareHeaderContributor,IClusterable
public class Resizable
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) withChildSelector(CharSequence childSelector) Sets a selector for a child element of the associated component' component tag that should be used for resizingMethods 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
-
Resizable
public Resizable()
-
-
Method Details
-
withChildSelector
Sets a selector for a child element of the associated component' component tag that should be used for resizing- Parameters:
childSelector- The selector for the child element- Returns:
thisinstance, for chaining
-
renderHead
- Specified by:
renderHeadin interfaceIComponentAwareHeaderContributor- Overrides:
renderHeadin classde.agilecoders.wicket.core.markup.html.bootstrap.behavior.BootstrapBaseBehavior
-
newResizableResourceReference
- Returns:
- new draggable js resource reference
-
bind
-