Uses of Class
javafx.concurrent.WorkerStateEvent
Packages that use WorkerStateEvent
-
Uses of WorkerStateEvent in javafx.concurrent
Fields in javafx.concurrent with type parameters of type WorkerStateEventModifier and TypeFieldDescriptionstatic 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 WorkerStateEventModifier and TypeMethodDescriptionfinal 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.Service.onCancelledProperty()
The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.Task.onCancelledProperty()
The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.Service.onFailedProperty()
The onFailed event handler is called whenever the Task state transitions to the FAILED state.Task.onFailedProperty()
The onFailed event handler is called whenever the Task state transitions to the FAILED state.Service.onReadyProperty()
The onReady event handler is called whenever the Task state transitions to the READY state.Service.onRunningProperty()
The onRunning event handler is called whenever the Task state transitions to the RUNNING state.Task.onRunningProperty()
The onRunning event handler is called whenever the Task state transitions to the RUNNING state.Service.onScheduledProperty()
The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.Task.onScheduledProperty()
The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.Service.onSucceededProperty()
The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.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 WorkerStateEventModifier and TypeMethodDescriptionfinal 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 WorkerStateEventModifierConstructorDescriptionWorkerStateEvent
(Worker worker, EventType<? extends WorkerStateEvent> eventType) Create a new WorkerStateEvent.