Uses of Class javafx.concurrent.WorkerStateEvent (JavaFX 25)
Description: use: module: javafx.graphics, package: javafx.concurrent, class: WorkerStateEvent

# Uses of Class
javafx.concurrent.WorkerStateEvent

Packages that use WorkerStateEvent
Package
Description
javafx.concurrent
Provides the set of classes for javafx.concurrent.

- ## Uses of WorkerStateEvent in javafx.concurrent

  Fields in javafx.concurrent with type parameters of type WorkerStateEvent
  Modifier and Type
  Field
  Description
  `static final EventType<WorkerStateEvent>`
  WorkerStateEvent.`ANY`
  Common supertype for all worker state event types.
  `static final EventType<WorkerStateEvent>`
  WorkerStateEvent.`WORKER_STATE_CANCELLED`
  This event occurs when the state of a Worker implementation has transitioned to the CANCELLED state.
  `static final EventType<WorkerStateEvent>`
  WorkerStateEvent.`WORKER_STATE_FAILED`
  This event occurs when the state of a Worker implementation has transitioned to the FAILED state.
  `static final EventType<WorkerStateEvent>`
  WorkerStateEvent.`WORKER_STATE_READY`
  This event occurs when the state of a Worker implementation has transitioned to the READY state.
  `static final EventType<WorkerStateEvent>`
  WorkerStateEvent.`WORKER_STATE_RUNNING`
  This event occurs when the state of a Worker implementation has transitioned to the RUNNING state.
  `static final EventType<WorkerStateEvent>`
  WorkerStateEvent.`WORKER_STATE_SCHEDULED`
  This event occurs when the state of a Worker implementation has transitioned to the SCHEDULED state.
  `static final EventType<WorkerStateEvent>`
  WorkerStateEvent.`WORKER_STATE_SUCCEEDED`
  This 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
  `final EventHandler<WorkerStateEvent>`
  Service.`getOnCancelled()`
  The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.
  `final EventHandler<WorkerStateEvent>`
  Task.`getOnCancelled()`
  The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.
  `final EventHandler<WorkerStateEvent>`
  Service.`getOnFailed()`
  The onFailed event handler is called whenever the Task state transitions to the FAILED state.
  `final EventHandler<WorkerStateEvent>`
  Task.`getOnFailed()`
  The onFailed event handler is called whenever the Task state transitions to the FAILED state.
  `final EventHandler<WorkerStateEvent>`
  Service.`getOnReady()`
  The onReady event handler is called whenever the Task state transitions to the READY state.
  `final EventHandler<WorkerStateEvent>`
  Service.`getOnRunning()`
  The onRunning event handler is called whenever the Task state transitions to the RUNNING state.
  `final EventHandler<WorkerStateEvent>`
  Task.`getOnRunning()`
  The onRunning event handler is called whenever the Task state transitions to the RUNNING state.
  `final EventHandler<WorkerStateEvent>`
  Service.`getOnScheduled()`
  The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.
  `final EventHandler<WorkerStateEvent>`
  Task.`getOnScheduled()`
  The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.
  `final EventHandler<WorkerStateEvent>`
  Service.`getOnSucceeded()`
  The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.
  `final EventHandler<WorkerStateEvent>`
  Task.`getOnSucceeded()`
  The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Service.`onCancelledProperty()`
  The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Task.`onCancelledProperty()`
  The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Service.`onFailedProperty()`
  The onFailed event handler is called whenever the Task state transitions to the FAILED state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Task.`onFailedProperty()`
  The onFailed event handler is called whenever the Task state transitions to the FAILED state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Service.`onReadyProperty()`
  The onReady event handler is called whenever the Task state transitions to the READY state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Service.`onRunningProperty()`
  The onRunning event handler is called whenever the Task state transitions to the RUNNING state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Task.`onRunningProperty()`
  The onRunning event handler is called whenever the Task state transitions to the RUNNING state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Service.`onScheduledProperty()`
  The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Task.`onScheduledProperty()`
  The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Service.`onSucceededProperty()`
  The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.
  `final 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
  `final void`
  Service.`setOnCancelled(EventHandler<WorkerStateEvent> value)`
  The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.
  `final void`
  Task.`setOnCancelled(EventHandler<WorkerStateEvent> value)`
  The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.
  `final void`
  Service.`setOnFailed(EventHandler<WorkerStateEvent> value)`
  The onFailed event handler is called whenever the Task state transitions to the FAILED state.
  `final void`
  Task.`setOnFailed(EventHandler<WorkerStateEvent> value)`
  The onFailed event handler is called whenever the Task state transitions to the FAILED state.
  `final void`
  Service.`setOnReady(EventHandler<WorkerStateEvent> value)`
  The onReady event handler is called whenever the Task state transitions to the READY state.
  `final void`
  Service.`setOnRunning(EventHandler<WorkerStateEvent> value)`
  The onRunning event handler is called whenever the Task state transitions to the RUNNING state.
  `final void`
  Task.`setOnRunning(EventHandler<WorkerStateEvent> value)`
  The onRunning event handler is called whenever the Task state transitions to the RUNNING state.
  `final void`
  Service.`setOnScheduled(EventHandler<WorkerStateEvent> value)`
  The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.
  `final void`
  Task.`setOnScheduled(EventHandler<WorkerStateEvent> value)`
  The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.
  `final void`
  Service.`setOnSucceeded(EventHandler<WorkerStateEvent> value)`
  The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.
  `final void`
  Task.`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
  Modifier
  Constructor
  Description
  ``
  `WorkerStateEvent(Worker worker, EventType<? extends WorkerStateEvent> eventType)`
  Create a new WorkerStateEvent.