Class Button

    • Constructor Detail

      • Button

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

        public Button​(String id,
                      IModel<String> model)
        Constructor
        Parameters:
        id - the markup id
        model - the IModel
    • 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 ButtonBehavior newWidgetBehavior​(String selector)
        Specified by:
        newWidgetBehavior in interface com.googlecode.wicket.jquery.core.IJQueryWidget