Spec-Zone.ru › OpenJavaFX 8
javafx.application

Class Preloader.ProgressNotification

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 and Description
    ProgressNotification(double progress)
    Constructs a progress notification.
  • Method Summary

    All MethodsInstance MethodsConcrete Methods
    Modifier and Type Method and Description
    double getProgress()
    Retrieves the progress for this notification.
    • Methods inherited from class java.lang.Object

      clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.

  • Method Detail

    • getProgress

      public double getProgress()
      Retrieves the progress for this notification. Progress is in the range of 0 to 1, or is negative for indeterminate progress.

      Returns:

      the progress

© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API