Example usage for Java javafx.concurrent Task fields, constructors, methods, implement or subclass
The text is from its open source code.
Task() Creates a new Task. |
boolean | cancel() |
Throwable | getException() |
String | getMessage() |
double | getProgress() |
double | getTotalWork() |
V | getValue() |
boolean | isRunning() |
ReadOnlyStringProperty | messageProperty() |
ReadOnlyDoubleProperty | progressProperty() |
ReadOnlyBooleanProperty | runningProperty() |
void | setOnCancelled(EventHandler The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state. |
void | setOnFailed(EventHandler The onFailed event handler is called whenever the Task state transitions to the FAILED state. |
void | setOnSucceeded(EventHandler The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state. |
ReadOnlyObjectProperty | stateProperty() |
ReadOnlyStringProperty | titleProperty() |
ReadOnlyObjectProperty | valueProperty() |