Class Preloader.StateChangeNotification

java.lang.Object
javafx.application.Preloader.StateChangeNotification
All Implemented Interfaces:
Preloader.PreloaderNotification
Enclosing class:
Preloader

public static class Preloader.StateChangeNotification
extends Object
implements Preloader.PreloaderNotification
A notification that signals a change in the application state. A state change notification is sent to a preloader immediately prior to loading the application class (and constructing an instance), calling the application init method, or calling the application start method.
Since:
JavaFX 2.0
  • Constructor Details

  • Method Details

    • getType

      Returns the type of notification.
      Returns:
      one of: BEFORE_LOAD, BEFORE_INIT, BEFORE_START
    • getApplication

      public Application getApplication()
      Returns the Application instance associated with this notification. This is null for a BEFORE_LOAD notification and non-null for other notification types.
      Returns:
      the Application instance or null.