public class ProgressIndicator
  Comment     Returned-by     Constructor-argument     Method-argument     Field-type     Type-bound     Links  

A circular control which is used for indicating progress, either infinite (aka indeterminate) or finite. Often used with the Task API for representing progress of background Tasks.

ProgressIndicator sets focusTraversable to false.

This first example creates a ProgressIndicator with an indeterminate value :


 import javafx.scene.control.ProgressIndicator;
 ProgressIndicator p1 = new ProgressIndicator();
 

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


 import javafx.scene.control.ProgressIndicator;
 ProgressIndicator p2 = new ProgressIndicator();
 p2.setProgress(0.25F);
 
Implementation of ProgressIndicator According to JavaFX UI Control API Specification

extends Control

Since:  JavaFX 2.0