Worker

scalafx.concurrent.Worker
See theWorker companion object
trait Worker[T] extends SFXDelegate[Worker[T]]

Wrapper trait for Worker Interface.

Attributes

Companion
object
Graph
Supertypes
trait SFXDelegate[Worker[T]]
class Object
trait Matchable
class Any
Known subtypes
class Service[T]
class ScheduledService[T]
class Task[T]

Members list

Value members

Concrete methods

Terminates execution of this Worker.

Terminates execution of this Worker.

Attributes

Gets the ReadOnlyObjectProperty representing any exception which occurred.

Gets the ReadOnlyObjectProperty representing any exception which occurred.

Attributes

Gets the ReadOnlyStringProperty representing the message.

Gets the ReadOnlyStringProperty representing the message.

Attributes

Gets the ReadOnlyDoubleProperty representing the progress.

Gets the ReadOnlyDoubleProperty representing the progress.

Attributes

Gets the ReadOnlyBooleanProperty representing whether the Worker is running.

Gets the ReadOnlyBooleanProperty representing whether the Worker is running.

Attributes

Gets the ReadOnlyObjectProperty representing the current state.

Gets the ReadOnlyObjectProperty representing the current state.

Attributes

Gets the ReadOnlyStringProperty representing the title.

Gets the ReadOnlyStringProperty representing the title.

Attributes

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.

Attributes

Gets the ReadOnlyObjectProperty representing the value.

Gets the ReadOnlyObjectProperty representing the value.

Attributes

Gets the ReadOnlyDoubleProperty representing the current progress.

Gets the ReadOnlyDoubleProperty representing the current progress.

Attributes

Inherited methods

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 parameters

ref

Object to be compared.

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Inherited and Abstract methods

def delegate: Worker[T]

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes

Inherited from:
SFXDelegate