Class ProgressBar

    • Constructor Detail

      • ProgressBar

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

        public ProgressBar​(String id,
                           IModel<Integer> model)
        Constructor
        Parameters:
        id - the markup id
        model - the IModel
    • Method Detail

      • setModelObject

        public com.googlecode.wicket.jquery.core.JQueryGenericContainer<Integer> setModelObject​(Integer value)
        Sets the progress-bar value
        Specified by:
        setModelObject in interface IGenericComponent<Integer,​com.googlecode.wicket.jquery.core.JQueryGenericContainer<Integer>>
        Parameters:
        value - value which should be greater than or equals to MIN and less than or equals to MAX
      • refresh

        public final void refresh​(IPartialPageRequestHandler handler)
        Refreshes the ProgressBar.
        This method needs to be called after the model object changes.
        But It is not required to be called when calling forward or backward methods.
        Parameters:
        handler - the IPartialPageRequestHandler
      • onAjax

        public void onAjax​(AjaxRequestTarget target,
                           com.googlecode.wicket.jquery.core.JQueryEvent event)
        Specified by:
        onAjax in interface com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
      • onValueChanged

        public void onValueChanged​(IPartialPageRequestHandler handler)
        Specified by:
        onValueChanged in interface com.googlecode.wicket.jquery.core.event.IValueChangedListener
      • newWidgetBehavior

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