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.ANYCommon supertype for all worker state event types.static final EventType<WorkerStateEvent>WorkerStateEvent.WORKER_STATE_CANCELLEDThis event occurs when the state of a Worker implementation has transitioned to the CANCELLED state.static final EventType<WorkerStateEvent>WorkerStateEvent.WORKER_STATE_FAILEDThis event occurs when the state of a Worker implementation has transitioned to the FAILED state.static final EventType<WorkerStateEvent>WorkerStateEvent.WORKER_STATE_READYThis event occurs when the state of a Worker implementation has transitioned to the READY state.static final EventType<WorkerStateEvent>WorkerStateEvent.WORKER_STATE_RUNNINGThis event occurs when the state of a Worker implementation has transitioned to the RUNNING state.static final EventType<WorkerStateEvent>WorkerStateEvent.WORKER_STATE_SCHEDULEDThis event occurs when the state of a Worker implementation has transitioned to the SCHEDULED state.static final 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 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 voidService.setOnCancelled(EventHandler<WorkerStateEvent> value) The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.final voidTask.setOnCancelled(EventHandler<WorkerStateEvent> value) The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.final voidService.setOnFailed(EventHandler<WorkerStateEvent> value) The onFailed event handler is called whenever the Task state transitions to the FAILED state.final voidTask.setOnFailed(EventHandler<WorkerStateEvent> value) The onFailed event handler is called whenever the Task state transitions to the FAILED state.final voidService.setOnReady(EventHandler<WorkerStateEvent> value) The onReady event handler is called whenever the Task state transitions to the READY state.final voidService.setOnRunning(EventHandler<WorkerStateEvent> value) The onRunning event handler is called whenever the Task state transitions to the RUNNING state.final voidTask.setOnRunning(EventHandler<WorkerStateEvent> value) The onRunning event handler is called whenever the Task state transitions to the RUNNING state.final voidService.setOnScheduled(EventHandler<WorkerStateEvent> value) The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.final voidTask.setOnScheduled(EventHandler<WorkerStateEvent> value) The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.final voidService.setOnSucceeded(EventHandler<WorkerStateEvent> value) The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.final 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 WorkerStateEventModifierConstructorDescriptionWorkerStateEvent(Worker worker, EventType<? extends WorkerStateEvent> eventType) Create a new WorkerStateEvent.