Interface ISpinnerListener

  • All Superinterfaces:
    org.apache.wicket.util.io.IClusterable, Serializable
    All Known Implementing Classes:
    AjaxSpinner, SpinnerAdapter

    public interface ISpinnerListener
    extends org.apache.wicket.util.io.IClusterable
    Event listener shared by the Spinner widget and the SpinnerBehavior
    Author:
    Sebastien Briquet - sebfz1
    • Method Detail

      • isOnSpinEventEnabled

        boolean isOnSpinEventEnabled()
        Indicates whether the 'spin' event is enabled.
        If true, the onSpin(AjaxRequestTarget, String) event will be triggered
        Returns:
        false by default
      • isOnStopEventEnabled

        boolean isOnStopEventEnabled()
        Indicates whether the 'stop' event is enabled.
        If true, the onStop(AjaxRequestTarget) event will be triggered
        Returns:
        false by default
      • onSpin

        void onSpin​(org.apache.wicket.ajax.AjaxRequestTarget target,
                    String value)
        Triggered on 'spin' event
        Parameters:
        target - the AjaxRequestTarget
        value - the value
      • onStop

        void onStop​(org.apache.wicket.ajax.AjaxRequestTarget target)
        Triggered on 'stop' event
        Parameters:
        target - the AjaxRequestTarget