Class AjaxButton

    • Constructor Detail

      • AjaxButton

        public AjaxButton​(String id)
        Constructor
        Parameters:
        id - the markup id
      • AjaxButton

        public AjaxButton​(String id,
                          Form<?> form)
        Constructor
        Parameters:
        id - the markup id
        form - the Form
      • AjaxButton

        public AjaxButton​(String id,
                          IModel<String> model)
        Constructor
        Parameters:
        id - the markup id
        model - the IModel
      • AjaxButton

        public AjaxButton​(String id,
                          IModel<String> model,
                          Form<?> form)
        Constructor
        Parameters:
        id - the markup id
        model - the IModel
        form - the Form
    • Method Detail

      • getIcon

        protected String getIcon()
        Gets the icon being displayed in the button
        Returns:
        JQueryIcon.NONE by default
      • onConfigure

        public void onConfigure​(com.googlecode.wicket.jquery.core.JQueryBehavior behavior)
        Specified by:
        onConfigure in interface com.googlecode.wicket.jquery.core.IJQueryWidget
      • onBeforeRender

        public void onBeforeRender​(com.googlecode.wicket.jquery.core.JQueryBehavior behavior)
        Specified by:
        onBeforeRender in interface com.googlecode.wicket.jquery.core.IJQueryWidget
      • newWidgetBehavior

        public com.googlecode.wicket.jquery.core.JQueryBehavior newWidgetBehavior​(String selector)
        Specified by:
        newWidgetBehavior in interface com.googlecode.wicket.jquery.core.IJQueryWidget