Uses of Class
javafx.concurrent.WorkerStateEvent
-
Packages that use WorkerStateEvent 软件包 描述 javafx.concurrent 提供javafx.task的一组类。 -
-
Uses of WorkerStateEvent in javafx.concurrent
Fields in javafx.concurrent with type parameters of type WorkerStateEvent Modifier and Type Field 描述 static EventType<WorkerStateEvent>
WorkerStateEvent. ANY
所有工作状态事件类型的常用超类型。static EventType<WorkerStateEvent>
WorkerStateEvent. WORKER_STATE_CANCELLED
当Worker实现的状态转换到CANCELED状态时,会发生此事件。static EventType<WorkerStateEvent>
WorkerStateEvent. WORKER_STATE_FAILED
当Worker实现的状态已转换到FAILED状态时,会发生此事件。static EventType<WorkerStateEvent>
WorkerStateEvent. WORKER_STATE_READY
当Worker实现的状态已转换到READY状态时,会发生此事件。static EventType<WorkerStateEvent>
WorkerStateEvent. WORKER_STATE_RUNNING
当Worker实现的状态已转换到RUNNING状态时,会发生此事件。static EventType<WorkerStateEvent>
WorkerStateEvent. WORKER_STATE_SCHEDULED
当Worker实现的状态已转换到SCHEDULED状态时,会发生此事件。static EventType<WorkerStateEvent>
WorkerStateEvent. WORKER_STATE_SUCCEEDED
当Worker实现的状态已转换到SUCCEEDED状态时,会发生此事件。Methods in javafx.concurrent that return types with arguments of type WorkerStateEvent Modifier and Type 方法 描述 EventHandler<WorkerStateEvent>
Service. getOnCancelled()
每当任务状态转换到CANCELED状态时,都会调用onCancelled事件处理程序。EventHandler<WorkerStateEvent>
Task. getOnCancelled()
每当任务状态转换到CANCELED状态时,都会调用onCancelled事件处理程序。EventHandler<WorkerStateEvent>
Service. getOnFailed()
每当任务状态转换到FAILED状态时,都会调用onFailed事件处理程序。EventHandler<WorkerStateEvent>
Task. getOnFailed()
每当任务状态转换到FAILED状态时,都会调用onFailed事件处理程序。EventHandler<WorkerStateEvent>
Service. getOnReady()
每当任务状态转换到READY状态时,都会调用onReady事件处理程序。EventHandler<WorkerStateEvent>
Service. getOnRunning()
每当任务状态转换到RUNNING状态时,都会调用onRunning事件处理程序。EventHandler<WorkerStateEvent>
Task. getOnRunning()
每当任务状态转换到RUNNING状态时,都会调用onRunning事件处理程序。EventHandler<WorkerStateEvent>
Service. getOnScheduled()
每当任务状态转换到SCHEDULED状态时,调用onSchedule事件处理程序。EventHandler<WorkerStateEvent>
Task. getOnScheduled()
每当任务状态转换到SCHEDULED状态时,调用onSchedule事件处理程序。EventHandler<WorkerStateEvent>
Service. getOnSucceeded()
每当任务状态转换到SUCCEEDED状态时,调用onSucceeded事件处理程序。EventHandler<WorkerStateEvent>
Task. getOnSucceeded()
每当任务状态转换到SUCCEEDED状态时,调用onSucceeded事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Service. onCancelledProperty()
每当任务状态转换到CANCELED状态时,都会调用onCancelled事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Task. onCancelledProperty()
每当任务状态转换到CANCELED状态时,都会调用onCancelled事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Service. onFailedProperty()
每当任务状态转换到FAILED状态时,都会调用onFailed事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Task. onFailedProperty()
每当任务状态转换到FAILED状态时,都会调用onFailed事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Service. onReadyProperty()
每当任务状态转换到READY状态时,都会调用onReady事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Service. onRunningProperty()
每当任务状态转换到RUNNING状态时,都会调用onRunning事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Task. onRunningProperty()
每当任务状态转换到RUNNING状态时,都会调用onRunning事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Service. onScheduledProperty()
每当任务状态转换到SCHEDULED状态时,调用onSchedule事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Task. onScheduledProperty()
每当任务状态转换到SCHEDULED状态时,调用onSchedule事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Service. onSucceededProperty()
每当任务状态转换到SUCCEEDED状态时,调用onSucceeded事件处理程序。ObjectProperty<EventHandler<WorkerStateEvent>>
Task. onSucceededProperty()
每当任务状态转换到SUCCEEDED状态时,调用onSucceeded事件处理程序。Method parameters in javafx.concurrent with type arguments of type WorkerStateEvent Modifier and Type 方法 描述 void
Service. setOnCancelled(EventHandler<WorkerStateEvent> value)
每当任务状态转换到CANCELED状态时,都会调用onCancelled事件处理程序。void
Task. setOnCancelled(EventHandler<WorkerStateEvent> value)
每当任务状态转换到CANCELED状态时,都会调用onCancelled事件处理程序。void
Service. setOnFailed(EventHandler<WorkerStateEvent> value)
每当任务状态转换到FAILED状态时,都会调用onFailed事件处理程序。void
Task. setOnFailed(EventHandler<WorkerStateEvent> value)
每当任务状态转换到FAILED状态时,都会调用onFailed事件处理程序。void
Service. setOnReady(EventHandler<WorkerStateEvent> value)
每当任务状态转换到READY状态时,都会调用onReady事件处理程序。void
Service. setOnRunning(EventHandler<WorkerStateEvent> value)
每当任务状态转换到RUNNING状态时,都会调用onRunning事件处理程序。void
Task. setOnRunning(EventHandler<WorkerStateEvent> value)
每当任务状态转换到RUNNING状态时,都会调用onRunning事件处理程序。void
Service. setOnScheduled(EventHandler<WorkerStateEvent> value)
每当任务状态转换到SCHEDULED状态时,调用onSchedule事件处理程序。void
Task. setOnScheduled(EventHandler<WorkerStateEvent> value)
每当任务状态转换到SCHEDULED状态时,调用onSchedule事件处理程序。void
Service. setOnSucceeded(EventHandler<WorkerStateEvent> value)
每当任务状态转换到SUCCEEDED状态时,调用onSucceeded事件处理程序。void
Task. setOnSucceeded(EventHandler<WorkerStateEvent> value)
每当任务状态转换到SUCCEEDED状态时,调用onSucceeded事件处理程序。Constructor parameters in javafx.concurrent with type arguments of type WorkerStateEvent Constructor 描述 WorkerStateEvent(Worker worker, EventType<? extends WorkerStateEvent> eventType)
创建一个新的WorkerStateEvent。
-