Class ProgressElement

  • All Implemented Interfaces:
    org.jboss.elemento.IsElement, Progress

    public class ProgressElement
    extends Object
    implements org.jboss.elemento.IsElement, Progress
    • Method Detail

      • element

        public elemental2.dom.HTMLElement element()
        Specified by:
        element in interface org.jboss.elemento.IsElement
      • reset

        public void reset()
        Description copied from interface: Progress
        Resets the progress indicator. Since now max value is given, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take.
        Specified by:
        reset in interface Progress
      • reset

        public void reset​(int mx,
                          String label)
        Description copied from interface: Progress
        Resets the progress indicator. The max parameter describes how many tasks are going to be executed.
        Specified by:
        reset in interface Progress
        Parameters:
        mx - the number of tasks executed
        label - a description for the reset state
      • tick

        public void tick​(String label)
        Description copied from interface: Progress
        Indicates progress using a description.
        Specified by:
        tick in interface Progress
        Parameters:
        label - a description of the progress
      • finish

        public void finish()
        Description copied from interface: Progress
        Indicates that the progress has been finished.
        Specified by:
        finish in interface Progress