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. ANY
Common supertype for all worker state event types.static EventType<WorkerStateEvent>
WorkerStateEvent. WORKER_STATE_CANCELLED
This event occurs when the state of a Worker implementation has transitioned to the CANCELLED state.static EventType<WorkerStateEvent>
WorkerStateEvent. WORKER_STATE_FAILED
This event occurs when the state of a Worker implementation has transitioned to the FAILED state.static EventType<WorkerStateEvent>
WorkerStateEvent. WORKER_STATE_READY
This event occurs when the state of a Worker implementation has transitioned to the READY state.static EventType<WorkerStateEvent>
WorkerStateEvent. WORKER_STATE_RUNNING
This event occurs when the state of a Worker implementation has transitioned to the RUNNING state.static EventType<WorkerStateEvent>
WorkerStateEvent. WORKER_STATE_SCHEDULED
This event occurs when the state of a Worker implementation has transitioned to the SCHEDULED state.static 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 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 void
Service. setOnCancelled(EventHandler<WorkerStateEvent> value)
The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.void
Task. setOnCancelled(EventHandler<WorkerStateEvent> value)
The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.void
Service. setOnFailed(EventHandler<WorkerStateEvent> value)
The onFailed event handler is called whenever the Task state transitions to the FAILED state.void
Task. setOnFailed(EventHandler<WorkerStateEvent> value)
The onFailed event handler is called whenever the Task state transitions to the FAILED state.void
Service. setOnReady(EventHandler<WorkerStateEvent> value)
The onReady event handler is called whenever the Task state transitions to the READY state.void
Service. setOnRunning(EventHandler<WorkerStateEvent> value)
The onRunning event handler is called whenever the Task state transitions to the RUNNING state.void
Task. setOnRunning(EventHandler<WorkerStateEvent> value)
The onRunning event handler is called whenever the Task state transitions to the RUNNING state.void
Service. setOnScheduled(EventHandler<WorkerStateEvent> value)
The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.void
Task. setOnScheduled(EventHandler<WorkerStateEvent> value)
The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.void
Service. setOnSucceeded(EventHandler<WorkerStateEvent> value)
The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.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 Constructor Description WorkerStateEvent(Worker worker, EventType<? extends WorkerStateEvent> eventType)
Create a new WorkerStateEvent.