Class AjaxIndicatingButtonBehavior

    • Constructor Detail

      • AjaxIndicatingButtonBehavior

        protected AjaxIndicatingButtonBehavior​(String selector,
                                               String icon,
                                               IndicatingAjaxButton.Position position)
        Constructor
        Parameters:
        selector - the html selector (ie: "#myId")
        icon - the button's icon
        position - the Position of the ajax-indicator
    • Method Detail

      • $

        protected String $()
        Overrides:
        $ in class com.googlecode.wicket.jquery.core.JQueryBehavior
      • newOnClickOptions

        protected com.googlecode.wicket.jquery.core.Options newOnClickOptions()
        Gets the new Button's Options to be used on click
        Returns:
        the Options
      • newAjaxStartOptions

        protected com.googlecode.wicket.jquery.core.Options newAjaxStartOptions()
        Gets the new Button's Options to be used on ajax-start
        Returns:
        the Options
      • newOnAjaxStopOptions

        protected com.googlecode.wicket.jquery.core.Options newOnAjaxStopOptions()
        Gets the new Button's Options to be used on when ajax-stop
        Returns:
        the Options