Example usage for Java javafx.concurrent Service fields, constructors, methods, implement or subclass
The text is from its open source code.
Service() Create a new Service. |
boolean | cancel() Cancels any currently running Task, if any. |
Throwable | getException() |
V | getValue() |
boolean | isRunning() |
ReadOnlyDoubleProperty | progressProperty() |
void | reset() Resets the Service. |
void | restart() Cancels any currently running Task, if any, and restarts this Service. |
ReadOnlyBooleanProperty | runningProperty() |
void | setOnFailed(EventHandler The onFailed event handler is called whenever the Task state transitions to the FAILED state. |
void | setOnRunning(EventHandler The onRunning event handler is called whenever the Task state transitions to the RUNNING state. |
void | setOnSucceeded(EventHandler The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state. |
void | start() Starts this Service. |
ReadOnlyObjectProperty | stateProperty() |