モジュール javafx.graphics
パッケージ javafx.application

クラスPreloader.StateChangeNotification

  • すべての実装されたインタフェース:
    Preloader.PreloaderNotification
    含まれているクラス:
    Preloader


    public static class Preloader.StateChangeNotification
    extends Object
    implements Preloader.PreloaderNotification
    アプリケーション状態の変更を示す通知。 状態変更通知は、アプリケーションのクラスのロード(およびインスタンスの構築)、アプリケーションのinitメソッドの呼出し、またはアプリケーションのstartメソッドの呼出しを行う直前にプレローダーに送信されます。
    導入されたバージョン:
    JavaFX 2.0
    • コンストラクタの詳細

      • StateChangeNotification

        public StateChangeNotification​(Preloader.StateChangeNotification.Type notificationType)
        指定したタイプのStateChangeNotificationを構築します。
        パラメータ:
        notificationType - この通知のタイプ。
      • StateChangeNotification

        public StateChangeNotification​(Preloader.StateChangeNotification.Type notificationType,
                                       Application application)
        指定したアプリケーションの指定の型のStateChangeNotificationを構築します。
        パラメータ:
        notificationType - この通知のタイプ。
        application - この通知に関連付けられているアプリケーション・インスタンス。
    • メソッドの詳細

      • getApplication

        public Application getApplication​()
        この通知に関連付けられているアプリケーション・インスタンスを返します。 BEFORE_LOAD通知の場合はnullで、他の通知タイプの場合はnull以外となります。
        戻り値:
        アプリケーション・インスタンスまたはnull。