Uses of Class
javafx.concurrent.WorkerStateEvent
| Package | Description |
|---|---|
| javafx.concurrent |
Provides the set of classes for javafx.task.
|
-
Uses of WorkerStateEvent in javafx.concurrent
Fields in javafx.concurrent with type parameters of type WorkerStateEvent Modifier and Type Field Description static EventType<WorkerStateEvent>WorkerStateEvent. ANYCommon supertype for all worker state event types.static EventType<WorkerStateEvent>WorkerStateEvent. WORKER_STATE_CANCELLEDThis event occurs when the state of a Worker implementation has transitioned to the CANCELLED state.static EventType<WorkerStateEvent>WorkerStateEvent. WORKER_STATE_FAILEDThis event occurs when the state of a Worker implementation has transitioned to the FAILED state.static EventType<WorkerStateEvent>WorkerStateEvent. WORKER_STATE_READYThis event occurs when the state of a Worker implementation has transitioned to the READY state.static EventType<WorkerStateEvent>WorkerStateEvent. WORKER_STATE_RUNNINGThis event occurs when the state of a Worker implementation has transitioned to the RUNNING state.static EventType<WorkerStateEvent>WorkerStateEvent. WORKER_STATE_SCHEDULEDThis event occurs when the state of a Worker implementation has transitioned to the SCHEDULED state.static EventType<WorkerStateEvent>WorkerStateEvent. WORKER_STATE_SUCCEEDEDThis event occurs when the state of a Worker implementation has transitioned to the SUCCEEDED state.Methods in javafx.concurrent that return types with arguments of type WorkerStateEvent Modifier and Type Method Description EventHandler<WorkerStateEvent>Service. getOnCancelled()The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.EventHandler<WorkerStateEvent>Task. getOnCancelled()The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.EventHandler<WorkerStateEvent>Service. getOnFailed()The onFailed event handler is called whenever the Task state transitions to the FAILED state.EventHandler<WorkerStateEvent>Task. getOnFailed()The onFailed event handler is called whenever the Task state transitions to the FAILED state.EventHandler<WorkerStateEvent>Service. getOnReady()The onReady event handler is called whenever the Task state transitions to the READY state.EventHandler<WorkerStateEvent>Service. getOnRunning()The onRunning event handler is called whenever the Task state transitions to the RUNNING state.EventHandler<WorkerStateEvent>Task. getOnRunning()The onRunning event handler is called whenever the Task state transitions to the RUNNING state.EventHandler<WorkerStateEvent>Service. getOnScheduled()The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.EventHandler<WorkerStateEvent>Task. getOnScheduled()The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.EventHandler<WorkerStateEvent>Service. getOnSucceeded()The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.EventHandler<WorkerStateEvent>Task. getOnSucceeded()The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.ObjectProperty<EventHandler<WorkerStateEvent>>Service. onCancelledProperty()The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.ObjectProperty<EventHandler<WorkerStateEvent>>Task. onCancelledProperty()The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.ObjectProperty<EventHandler<WorkerStateEvent>>Service. onFailedProperty()The onFailed event handler is called whenever the Task state transitions to the FAILED state.ObjectProperty<EventHandler<WorkerStateEvent>>Task. onFailedProperty()The onFailed event handler is called whenever the Task state transitions to the FAILED state.ObjectProperty<EventHandler<WorkerStateEvent>>Service. onReadyProperty()The onReady event handler is called whenever the Task state transitions to the READY state.ObjectProperty<EventHandler<WorkerStateEvent>>Service. onRunningProperty()The onRunning event handler is called whenever the Task state transitions to the RUNNING state.ObjectProperty<EventHandler<WorkerStateEvent>>Task. onRunningProperty()The onRunning event handler is called whenever the Task state transitions to the RUNNING state.ObjectProperty<EventHandler<WorkerStateEvent>>Service. onScheduledProperty()The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.ObjectProperty<EventHandler<WorkerStateEvent>>Task. onScheduledProperty()The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.ObjectProperty<EventHandler<WorkerStateEvent>>Service. onSucceededProperty()The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.ObjectProperty<EventHandler<WorkerStateEvent>>Task. onSucceededProperty()The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.Method parameters in javafx.concurrent with type arguments of type WorkerStateEvent Modifier and Type Method Description voidService. setOnCancelled(EventHandler<WorkerStateEvent> value)The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.voidTask. setOnCancelled(EventHandler<WorkerStateEvent> value)The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.voidService. setOnFailed(EventHandler<WorkerStateEvent> value)The onFailed event handler is called whenever the Task state transitions to the FAILED state.voidTask. setOnFailed(EventHandler<WorkerStateEvent> value)The onFailed event handler is called whenever the Task state transitions to the FAILED state.voidService. setOnReady(EventHandler<WorkerStateEvent> value)The onReady event handler is called whenever the Task state transitions to the READY state.voidService. setOnRunning(EventHandler<WorkerStateEvent> value)The onRunning event handler is called whenever the Task state transitions to the RUNNING state.voidTask. setOnRunning(EventHandler<WorkerStateEvent> value)The onRunning event handler is called whenever the Task state transitions to the RUNNING state.voidService. setOnScheduled(EventHandler<WorkerStateEvent> value)The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.voidTask. setOnScheduled(EventHandler<WorkerStateEvent> value)The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.voidService. setOnSucceeded(EventHandler<WorkerStateEvent> value)The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.voidTask. setOnSucceeded(EventHandler<WorkerStateEvent> value)The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.Constructor parameters in javafx.concurrent with type arguments of type WorkerStateEvent Constructor Description WorkerStateEvent(Worker worker, EventType<? extends WorkerStateEvent> eventType)Create a new WorkerStateEvent.