Package org.jboss.hal.ballroom
Class ProgressElement
- java.lang.Object
-
- org.jboss.hal.ballroom.ProgressElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProgressElement.Labelstatic classProgressElement.Size
-
Constructor Summary
Constructors Constructor Description ProgressElement(ProgressElement.Size size, ProgressElement.Label label, boolean reverse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description elemental2.dom.HTMLElementelement()voidfinish()Indicates that the progress has been finished.voidreset()Resets the progress indicator.voidreset(int mx, String label)Resets the progress indicator.voidtick(String label)Indicates progress using a description.
-
-
-
Constructor Detail
-
ProgressElement
public ProgressElement(ProgressElement.Size size, ProgressElement.Label label, boolean reverse)
-
-
Method Detail
-
element
public elemental2.dom.HTMLElement element()
- Specified by:
elementin interfaceorg.jboss.elemento.IsElement
-
reset
public void reset()
Description copied from interface:ProgressResets the progress indicator. Since nowmaxvalue 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.
-
reset
public void reset(int mx, String label)Description copied from interface:ProgressResets the progress indicator. Themaxparameter describes how many tasks are going to be executed.
-
tick
public void tick(String label)
Description copied from interface:ProgressIndicates progress using a description.
-
-