Class ProgressBar

  • All Implemented Interfaces:
    Styleable, EventTarget, Skinnable

    public class ProgressBar
    extends ProgressIndicator
    A specialization of the ProgressIndicator which is represented as a horizontal bar. A ProgressBar can be again determinant or indeterminate just like the ProgressIndicator.

    ProgressBar sets focusTraversable to false.

    This first example creates a ProgressBar with an indeterminate value :

    
     import com.gluonhq.charm.glisten.control.ProgressBar;
    
     ProgressBar p1 = new ProgressBar();
     

    This next example creates a ProgressBar which is 25% complete :

    
     import com.gluonhq.charm.glisten.control.ProgressBar;
     ProgressBar p2 = new ProgressBar();
     p2.setProgress(0.25F);
     
    Since:
    2.2.0