- java.lang.Object
-
- javafx.application.Preloader.ProgressNotification
-
- All Implemented Interfaces:
Preloader.PreloaderNotification
- Enclosing class:
- Preloader
public static class Preloader.ProgressNotification extends Object implements Preloader.PreloaderNotification
Preloader notification that reports progress. This is typically used to report progress while downloading and initializing the application.- Since:
- JavaFX 2.0
-
-
Constructor Summary
Constructors Constructor Description ProgressNotification(double progress)
Constructs a progress notification.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getProgress()
Retrieves the progress for this notification.
-
-
-
Constructor Detail
-
ProgressNotification
public ProgressNotification(double progress)
Constructs a progress notification.- Parameters:
progress
- a value indicating the progress. A negative value for progress indicates that the progress is indeterminate. A value between 0 and 1 indicates the amount of progress. Any value greater than 1 is interpreted as 1.
-
-