- java.lang.Object
-
- javafx.application.Preloader.StateChangeNotification
-
- すべての実装されたインタフェース:
Preloader.PreloaderNotification
- 含まれているクラス:
- Preloader
public static class Preloader.StateChangeNotification extends Object implements Preloader.PreloaderNotification
アプリケーション状態の変更を示す通知。 状態変更通知は、アプリケーションのクラスのロード(およびインスタンスの構築)、アプリケーションのinitメソッドの呼出し、またはアプリケーションのstartメソッドの呼出しを行う直前にプレローダーに送信されます。- 導入されたバージョン:
- JavaFX 2.0
-
-
ネストされたクラスのサマリー
ネストされたクラス 修飾子と型 クラス 説明 static class
Preloader.StateChangeNotification.Type
この通知に関連付けられている変更の型を定義する列挙型
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 StateChangeNotification(Preloader.StateChangeNotification.Type notificationType)
指定したタイプのStateChangeNotificationを構築します。StateChangeNotification(Preloader.StateChangeNotification.Type notificationType, Application application)
指定したアプリケーションの指定の型のStateChangeNotificationを構築します。
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 Application
getApplication()
この通知に関連付けられているアプリケーション・インスタンスを返します。Preloader.StateChangeNotification.Type
getType()
通知のタイプを返します。
-
-
-
コンストラクタの詳細
-
StateChangeNotification
public StateChangeNotification(Preloader.StateChangeNotification.Type notificationType)
指定したタイプのStateChangeNotificationを構築します。- パラメータ:
notificationType
- この通知のタイプ。
-
StateChangeNotification
public StateChangeNotification(Preloader.StateChangeNotification.Type notificationType, Application application)
指定したアプリケーションの指定の型のStateChangeNotificationを構築します。- パラメータ:
notificationType
- この通知のタイプ。application
- この通知に関連付けられているアプリケーション・インスタンス。
-
-
メソッドの詳細
-
getType
public Preloader.StateChangeNotification.Type getType()
通知のタイプを返します。- 戻り値:
- BEFORE_LOAD、BEFORE_INIT、BEFORE_STARTのうちのいずれか
-
getApplication
public Application getApplication()
この通知に関連付けられているアプリケーション・インスタンスを返します。 BEFORE_LOAD通知の場合はnullで、他の通知タイプの場合はnull以外となります。- 戻り値:
- アプリケーション・インスタンスまたはnull。
-
-