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 Details

    • Resizable

      public Resizable()
  • Method Details

    • withChildSelector

      public Resizable withChildSelector(CharSequence childSelector)
      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:
      this instance, for chaining
    • renderHead

      public void renderHead(Component component, IHeaderResponse headerResponse)
      Specified by:
      renderHead in interface IComponentAwareHeaderContributor
      Overrides:
      renderHead in class de.agilecoders.wicket.core.markup.html.bootstrap.behavior.BootstrapBaseBehavior
    • newResizableResourceReference

      protected JavaScriptResourceReference newResizableResourceReference()
      Returns:
      new draggable js resource reference
    • bind

      public void bind(Component component)
      Overrides:
      bind in class Behavior