Class ProgressIndicator

java.lang.Object
All Implemented Interfaces:
Styleable, EventTarget, Skinnable
Direct Known Subclasses:
ProgressBar

public class ProgressIndicator extends Control
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:

 ProgressIndicator p1 = new ProgressIndicator();
Image of the indeterminate progress ProgressIndicator control

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

 ProgressIndicator p2 = new ProgressIndicator();
 p2.setProgress(0.25F);
Image of the ProgressIndicator control
Since:
JavaFX 2.0