インタフェース
javafx.concurrent.Workerの使用
-
Workerを使用するパッケージ パッケージ 説明 javafx.concurrent javafx.taskのクラスのセットを提供します。javafx.scene.web このパッケージは、Webコンテンツをロードおよび表示する手段を提供します。 -
-
javafx.concurrentのWorkerの使用
Workerを実装するjavafx.concurrentのクラス 修飾子と型 クラス 説明 class
ScheduledService<V>
ScheduledServiceは、実行が成功した後にそれ自体を自動的に再起動し、一部の条件では失敗の場合でも再起動するService
です。class
Service<V>
Serviceは、1つ以上のバックグラウンド・スレッドで処理を実行するために必要な情報をカプセル化する非ビジュアル・コンポーネントです。class
Task<V>
FutureTask
の完全に監視可能な実装。Workerを返すjavafx.concurrentのメソッド 修飾子と型 メソッド 説明 Worker
WorkerStateEvent. getSource()
Eventが最初に発生したWorker。Worker型のパラメータを持つjavafx.concurrentのコンストラクタ コンストラクタ 説明 WorkerStateEvent(Worker worker, EventType<? extends WorkerStateEvent> eventType)
新しいWorkerStateEventを作成します。 -
javafx.scene.webのWorkerの使用
Workerを返すjavafx.scene.webのメソッド 修飾子と型 メソッド 説明 Worker<Void>
WebEngine. getLoadWorker()
ロード処理の進捗を追跡するために使用できるWorker
オブジェクトを返します。
-