Class AjaxSliderBehavior

java.lang.Object
org.apache.wicket.behavior.Behavior
com.googlecode.wicket.jquery.core.JQueryAbstractBehavior
com.googlecode.wicket.jquery.core.JQueryBehavior
All Implemented Interfaces:
com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware, JQueryDestroyListener.IDestroyable, Serializable, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.markup.html.IComponentAwareHeaderContributor, org.apache.wicket.util.io.IClusterable

public abstract class AjaxSliderBehavior extends AbstractSlider.SliderBehavior implements com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
Provides a jQuery ajax-slider JQueryBehavior
IJQueryAjaxAware.onAjax(AjaxRequestTarget, JQueryEvent) is delegated to AjaxSlider (need to validate AjaxSlider as a FormComponent)
Author:
Sebastien Briquet - sebfz1
See Also:
  • Field Summary

    Fields inherited from class com.googlecode.wicket.jquery.ui.form.slider.AbstractSlider.SliderBehavior

    METHOD

    Fields inherited from class com.googlecode.wicket.jquery.core.JQueryBehavior

    method, options, selector
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    AjaxSliderBehavior(String selector, com.googlecode.wicket.jquery.core.Options options)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bind(org.apache.wicket.Component component)
     
    protected abstract com.googlecode.wicket.jquery.core.ajax.JQueryAjaxPostBehavior
    newOnChangeAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
    Gets a new JQueryAjaxPostBehavior that will be wired to the 'change' event
    void
    onConfigure(org.apache.wicket.Component component)
     

    Methods inherited from class com.googlecode.wicket.jquery.ui.JQueryUIBehavior

    destroy, onDestroy, widget, widget, widget, widget

    Methods inherited from class com.googlecode.wicket.jquery.core.JQueryBehavior

    $, $, $, $, beforeRender, detach, getMethod, getOption, getOptions, getSelector, off, on, on, register, remove, renderHead, setOption, setOption, setOption, setOptions, setSelector

    Methods inherited from class com.googlecode.wicket.jquery.core.JQueryAbstractBehavior

    add, getJQueryLibrarySettings, renderOnDomReadyScript, renderPriorityHeaderItem, toString

    Methods inherited from class org.apache.wicket.behavior.Behavior

    afterRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onComponentTag, onEvent, onException, onRemove, onTag, unbind

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware

    onAjax
  • Constructor Details

    • AjaxSliderBehavior

      public AjaxSliderBehavior(String selector)
    • AjaxSliderBehavior

      public AjaxSliderBehavior(String selector, com.googlecode.wicket.jquery.core.Options options)
  • Method Details

    • bind

      public void bind(org.apache.wicket.Component component)
      Overrides:
      bind in class org.apache.wicket.behavior.Behavior
    • onConfigure

      public void onConfigure(org.apache.wicket.Component component)
      Overrides:
      onConfigure in class JQueryUIBehavior
    • newOnChangeAjaxBehavior

      protected abstract com.googlecode.wicket.jquery.core.ajax.JQueryAjaxPostBehavior newOnChangeAjaxBehavior(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
      Gets a new JQueryAjaxPostBehavior that will be wired to the 'change' event
      Parameters:
      source - the IJQueryAjaxAware
      Returns:
      a new OnChangeAjaxBehavior by default