State

scalafx.concurrent.Worker.State
See theState companion class
object State extends SFXEnumDelegateCompanion[State, State]

Attributes

Companion
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
State.type

Members list

Type members

Classlikes

case object Cancelled extends State

Indicates that this Worker has been cancelled via the Worker.cancel() method.

Indicates that this Worker has been cancelled via the Worker.cancel() method.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class State
trait SFXEnumDelegate[State]
trait SFXDelegate[State]
class Object
trait Matchable
class Any
Show all
Self type
Cancelled.type
case object Failed extends State

Indicates that this Worker has failed, usually due to some unexpected condition having occurred.

Indicates that this Worker has failed, usually due to some unexpected condition having occurred.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class State
trait SFXEnumDelegate[State]
trait SFXDelegate[State]
class Object
trait Matchable
class Any
Show all
Self type
Failed.type
case object Ready extends State

Indicates that the Worker has not yet been executed and is ready to be executed, or that it has been reinitialized.

Indicates that the Worker has not yet been executed and is ready to be executed, or that it has been reinitialized.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class State
trait SFXEnumDelegate[State]
trait SFXDelegate[State]
class Object
trait Matchable
class Any
Show all
Self type
Ready.type
case object Running extends State

Indicates that this Worker is running.

Indicates that this Worker is running.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class State
trait SFXEnumDelegate[State]
trait SFXDelegate[State]
class Object
trait Matchable
class Any
Show all
Self type
Running.type
case object Scheduled extends State

Indicates that the Worker has been scheduled for execution, but that it is not currently running.

Indicates that the Worker has been scheduled for execution, but that it is not currently running.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class State
trait SFXEnumDelegate[State]
trait SFXDelegate[State]
class Object
trait Matchable
class Any
Show all
Self type
Scheduled.type
case object Succeeded extends State

Indicates that this Worker has completed successfully, and that there is a valid result ready to be read from the value property.

Indicates that this Worker has completed successfully, and that there is a valid result ready to be read from the value property.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class State
trait SFXEnumDelegate[State]
trait SFXDelegate[State]
class Object
trait Matchable
class Any
Show all
Self type
Succeeded.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Inherited methods

def apply(e: State): S

Converts a JavaFX enum to its respective SFXEnumDelegate.

Converts a JavaFX enum to its respective SFXEnumDelegate.

Value parameters

e

JavaFX enum

Attributes

Returns

[[scalafx.delegate.SFXEnumDelegate]] equivalent to argument.

Inherited from:
SFXEnumDelegateCompanion
def apply(name: String): S

Returns the enum constant of this type with the specified name.

Returns the enum constant of this type with the specified name.

Value parameters

name

the name of the constant to return

Attributes

Throws
IllegalArgumentException

If the specified enum type has no constant with the specified name, or the specified class object does not represent an enum type.

Inherited from:
SFXEnumDelegateCompanion
def jfxEnum2sfx(e: State): S

Converts a JavaFX enum to its respective SFXEnumDelegate.

Converts a JavaFX enum to its respective SFXEnumDelegate.

Value parameters

e

JavaFX enum

Attributes

Returns

[[scalafx.delegate.SFXEnumDelegate]] equivalent to argument.

Inherited from:
SFXEnumDelegateCompanion

Deprecated fields

Attributes

Deprecated
true
val FAILED: State

Attributes

Deprecated
true
val READY: State

Attributes

Deprecated
true
val RUNNING: State

Attributes

Deprecated
true

Attributes

Deprecated
true

Attributes

Deprecated
true

Inherited fields

lazy val values: List[State]

Returns a List containing the constants of this enum type, in the order they are declared.

Returns a List containing the constants of this enum type, in the order they are declared.

Attributes

Inherited from:
SFXEnumDelegateCompanion

Implicits

Inherited implicits

implicit def sfxEnum2jfx(s: State): E

Converts a SFXEnumDelegate to its respective JavaFX Enum.

Converts a SFXEnumDelegate to its respective JavaFX Enum.

Value parameters

s

SFXEnumDelegate instance

Attributes

Returns

Delegated enum

Inherited from:
SFXEnumDelegateCompanion