Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
javafx.concurrent |
Provides the set of classes for javafx.task.
|
Modifier and Type | Field and Description |
---|---|
static EventType<WorkerStateEvent> |
WorkerStateEvent.ANY
Common supertype for all worker state event types.
|
private ObjectProperty<EventHandler<WorkerStateEvent>> |
EventHelper.onCancelled |
private ObjectProperty<EventHandler<WorkerStateEvent>> |
EventHelper.onFailed |
private ObjectProperty<EventHandler<WorkerStateEvent>> |
EventHelper.onReady |
private ObjectProperty<EventHandler<WorkerStateEvent>> |
EventHelper.onRunning |
private ObjectProperty<EventHandler<WorkerStateEvent>> |
EventHelper.onScheduled |
private ObjectProperty<EventHandler<WorkerStateEvent>> |
EventHelper.onSucceeded |
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.
|
Modifier and Type | Method and Description |
---|---|
EventHandler<WorkerStateEvent> |
Task.getOnCancelled()
The onCancelled event handler is called whenever the Task state
transitions to the CANCELLED state.
|
EventHandler<WorkerStateEvent> |
Service.getOnCancelled()
The onCancelled event handler is called whenever the Task state
transitions to the CANCELLED state.
|
(package private) EventHandler<WorkerStateEvent> |
EventHelper.getOnCancelled() |
EventHandler<WorkerStateEvent> |
Task.getOnFailed()
The onFailed event handler is called whenever the Task state
transitions to the FAILED state.
|
EventHandler<WorkerStateEvent> |
Service.getOnFailed()
The onFailed event handler is called whenever the Task state
transitions to the FAILED state.
|
(package private) EventHandler<WorkerStateEvent> |
EventHelper.getOnFailed() |
EventHandler<WorkerStateEvent> |
Service.getOnReady()
The onReady event handler is called whenever the Task state transitions
to the READY state.
|
(package private) EventHandler<WorkerStateEvent> |
EventHelper.getOnReady() |
EventHandler<WorkerStateEvent> |
Task.getOnRunning()
The onRunning event handler is called whenever the Task state
transitions to the RUNNING state.
|
EventHandler<WorkerStateEvent> |
Service.getOnRunning()
The onRunning event handler is called whenever the Task state
transitions to the RUNNING state.
|
(package private) EventHandler<WorkerStateEvent> |
EventHelper.getOnRunning() |
EventHandler<WorkerStateEvent> |
Task.getOnScheduled()
The onSchedule event handler is called whenever the Task state
transitions to the SCHEDULED state.
|
EventHandler<WorkerStateEvent> |
Service.getOnScheduled()
The onSchedule event handler is called whenever the Task state
transitions to the SCHEDULED state.
|
(package private) EventHandler<WorkerStateEvent> |
EventHelper.getOnScheduled() |
EventHandler<WorkerStateEvent> |
Task.getOnSucceeded()
The onSucceeded event handler is called whenever the Task state
transitions to the SUCCEEDED state.
|
EventHandler<WorkerStateEvent> |
Service.getOnSucceeded()
The onSucceeded event handler is called whenever the Task state
transitions to the SUCCEEDED state.
|
(package private) EventHandler<WorkerStateEvent> |
EventHelper.getOnSucceeded() |
ObjectProperty<EventHandler<WorkerStateEvent>> |
Task.onCancelledProperty()
The onCancelled event handler is called whenever the Task state
transitions to the CANCELLED state.
|
ObjectProperty<EventHandler<WorkerStateEvent>> |
Service.onCancelledProperty()
The onCancelled event handler is called whenever the Task state
transitions to the CANCELLED state.
|
(package private) ObjectProperty<EventHandler<WorkerStateEvent>> |
EventHelper.onCancelledProperty() |
ObjectProperty<EventHandler<WorkerStateEvent>> |
Task.onFailedProperty()
The onFailed event handler is called whenever the Task state
transitions to the FAILED state.
|
ObjectProperty<EventHandler<WorkerStateEvent>> |
Service.onFailedProperty()
The onFailed event handler is called whenever the Task state
transitions to the FAILED state.
|
(package private) ObjectProperty<EventHandler<WorkerStateEvent>> |
EventHelper.onFailedProperty() |
ObjectProperty<EventHandler<WorkerStateEvent>> |
Service.onReadyProperty()
The onReady event handler is called whenever the Task state transitions
to the READY state.
|
(package private) ObjectProperty<EventHandler<WorkerStateEvent>> |
EventHelper.onReadyProperty() |
ObjectProperty<EventHandler<WorkerStateEvent>> |
Task.onRunningProperty()
The onRunning event handler is called whenever the Task state
transitions to the RUNNING state.
|
ObjectProperty<EventHandler<WorkerStateEvent>> |
Service.onRunningProperty()
The onRunning event handler is called whenever the Task state
transitions to the RUNNING state.
|
(package private) ObjectProperty<EventHandler<WorkerStateEvent>> |
EventHelper.onRunningProperty() |
ObjectProperty<EventHandler<WorkerStateEvent>> |
Task.onScheduledProperty()
The onSchedule event handler is called whenever the Task state
transitions to the SCHEDULED state.
|
ObjectProperty<EventHandler<WorkerStateEvent>> |
Service.onScheduledProperty()
The onSchedule event handler is called whenever the Task state
transitions to the SCHEDULED state.
|
(package private) ObjectProperty<EventHandler<WorkerStateEvent>> |
EventHelper.onScheduledProperty() |
ObjectProperty<EventHandler<WorkerStateEvent>> |
Task.onSucceededProperty()
The onSucceeded event handler is called whenever the Task state
transitions to the SUCCEEDED state.
|
ObjectProperty<EventHandler<WorkerStateEvent>> |
Service.onSucceededProperty()
The onSucceeded event handler is called whenever the Task state
transitions to the SUCCEEDED state.
|
(package private) ObjectProperty<EventHandler<WorkerStateEvent>> |
EventHelper.onSucceededProperty() |
Modifier and Type | Method and Description |
---|---|
void |
Task.setOnCancelled(EventHandler<WorkerStateEvent> value)
The onCancelled event handler is called whenever the Task state
transitions to the CANCELLED state.
|
void |
Service.setOnCancelled(EventHandler<WorkerStateEvent> value)
The onCancelled event handler is called whenever the Task state
transitions to the CANCELLED state.
|
(package private) void |
EventHelper.setOnCancelled(EventHandler<WorkerStateEvent> value) |
void |
Task.setOnFailed(EventHandler<WorkerStateEvent> value)
The onFailed event handler is called whenever the Task state
transitions to the FAILED state.
|
void |
Service.setOnFailed(EventHandler<WorkerStateEvent> value)
The onFailed event handler is called whenever the Task state
transitions to the FAILED state.
|
(package private) void |
EventHelper.setOnFailed(EventHandler<WorkerStateEvent> value) |
void |
Service.setOnReady(EventHandler<WorkerStateEvent> value)
The onReady event handler is called whenever the Task state transitions
to the READY state.
|
(package private) void |
EventHelper.setOnReady(EventHandler<WorkerStateEvent> value) |
void |
Task.setOnRunning(EventHandler<WorkerStateEvent> value)
The onRunning event handler is called whenever the Task state
transitions to the RUNNING state.
|
void |
Service.setOnRunning(EventHandler<WorkerStateEvent> value)
The onRunning event handler is called whenever the Task state
transitions to the RUNNING state.
|
(package private) void |
EventHelper.setOnRunning(EventHandler<WorkerStateEvent> value) |
void |
Task.setOnScheduled(EventHandler<WorkerStateEvent> value)
The onSchedule event handler is called whenever the Task state
transitions to the SCHEDULED state.
|
void |
Service.setOnScheduled(EventHandler<WorkerStateEvent> value)
The onSchedule event handler is called whenever the Task state
transitions to the SCHEDULED state.
|
(package private) void |
EventHelper.setOnScheduled(EventHandler<WorkerStateEvent> value) |
void |
Task.setOnSucceeded(EventHandler<WorkerStateEvent> value)
The onSucceeded event handler is called whenever the Task state
transitions to the SUCCEEDED state.
|
void |
Service.setOnSucceeded(EventHandler<WorkerStateEvent> value)
The onSucceeded event handler is called whenever the Task state
transitions to the SUCCEEDED state.
|
(package private) void |
EventHelper.setOnSucceeded(EventHandler<WorkerStateEvent> value) |
Constructor and Description |
---|
WorkerStateEvent(Worker worker,
EventType<? extends WorkerStateEvent> eventType)
Create a new WorkerStateEvent.
|
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to