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

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

Introduction

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

The text is from its open source code.

Subclass

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

Constructor

Service()
Create a new Service.

Method

booleancancel()
Cancels any currently running Task, if any.
ThrowablegetException()
VgetValue()
booleanisRunning()
ReadOnlyDoublePropertyprogressProperty()
voidreset()
Resets the Service.
voidrestart()
Cancels any currently running Task, if any, and restarts this Service.
ReadOnlyBooleanPropertyrunningProperty()
voidsetOnFailed(EventHandler value)
The onFailed event handler is called whenever the Task state transitions to the FAILED state.
voidsetOnRunning(EventHandler value)
The onRunning event handler is called whenever the Task state transitions to the RUNNING state.
voidsetOnSucceeded(EventHandler value)
The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.
voidstart()
Starts this Service.
ReadOnlyObjectPropertystateProperty()