Worker

trait Worker[T] extends SFXDelegate[Worker[T]]

Wrapper trait for Worker Interface.

Wrapper trait for Worker Interface.

Companion
object
trait SFXDelegate[Worker[T]]
class Object
trait Matchable
class Any
class Service[T]
class Task[T]

Value members

Concrete methods

def cancel: Boolean

Terminates execution of this Worker.

Terminates execution of this Worker.

Gets the ReadOnlyObjectProperty representing any exception which occurred.

Gets the ReadOnlyObjectProperty representing any exception which occurred.

Gets the ReadOnlyStringProperty representing the message.

Gets the ReadOnlyStringProperty representing the message.

Gets the ReadOnlyDoubleProperty representing the progress.

Gets the ReadOnlyDoubleProperty representing the progress.

Gets the ReadOnlyBooleanProperty representing whether the Worker is running.

Gets the ReadOnlyBooleanProperty representing whether the Worker is running.

Gets the ReadOnlyObjectProperty representing the current state.

Gets the ReadOnlyObjectProperty representing the current state.

Gets the ReadOnlyStringProperty representing the title.

Gets the ReadOnlyStringProperty representing the title.

Gets the ReadOnlyDoubleProperty representing the maximum amount of work that needs to be done.

Gets the ReadOnlyDoubleProperty representing the maximum amount of work that needs to be done.

Gets the ReadOnlyObjectProperty representing the value.

Gets the ReadOnlyObjectProperty representing the value.

Gets the ReadOnlyDoubleProperty representing the current progress.

Gets the ReadOnlyDoubleProperty representing the current progress.

Inherited methods

def delegate: Worker[T]

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Inherited from
SFXDelegate
override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value Params
ref

Object to be compared.

Returns

if the other object is equals to this delegate or not.

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
Inherited from
SFXDelegate