public static class Preloader.ProgressNotification extends Object implements Preloader.PreloaderNotification
Constructor and Description |
---|
ProgressNotification(double progress)
Constructs a progress notification.
|
Modifier and Type | Method and Description |
---|---|
double |
getProgress()
Retrieves the progress for this notification.
|
public ProgressNotification(double progress)
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.Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.