Java javafx.concurrent Task fields, constructors, methods, implement or subclass

Example usage for Java javafx.concurrent Task fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javafx.concurrent Task.

The text is from its open source code.

Subclass

javafx.concurrent.Task has subclasses.
Click this link to see all its subclasses.

Constructor

Task()
Creates a new Task.

Method

booleancancel()
ThrowablegetException()
StringgetMessage()
doublegetProgress()
doublegetTotalWork()
VgetValue()
booleanisRunning()
ReadOnlyStringPropertymessageProperty()
ReadOnlyDoublePropertyprogressProperty()
ReadOnlyBooleanPropertyrunningProperty()
voidsetOnCancelled(EventHandler value)
The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.
voidsetOnFailed(EventHandler value)
The onFailed event handler is called whenever the Task state transitions to the FAILED state.
voidsetOnSucceeded(EventHandler value)
The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.
ReadOnlyObjectPropertystateProperty()
ReadOnlyStringPropertytitleProperty()
ReadOnlyObjectPropertyvalueProperty()