Status

scalafx.scene.media.MediaPlayer.Status
See theStatus companion class
object Status extends SFXEnumDelegateCompanion[Status, Status]

Attributes

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

Members list

Type members

Classlikes

case object Disposed extends Status

State of the player after dispose() method is invoked.

State of the player after dispose() method is invoked.

This state indicates player is disposed, all resources are free and player SHOULD NOT be used again. Media and MediaView objects associated with disposed player can be reused.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Status
trait SFXEnumDelegate[Status]
trait SFXDelegate[Status]
class Object
trait Matchable
class Any
Show all
Self type
Disposed.type
case object Halted extends Status

State of the player when a critical error has occurred.

State of the player when a critical error has occurred.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Status
trait SFXEnumDelegate[Status]
trait SFXDelegate[Status]
class Object
trait Matchable
class Any
Show all
Self type
Halted.type
case object Paused extends Status

State of the player when playback is paused.

State of the player when playback is paused.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Status
trait SFXEnumDelegate[Status]
trait SFXDelegate[Status]
class Object
trait Matchable
class Any
Show all
Self type
Paused.type
case object Playing extends Status

State of the player when it is currently playing.

State of the player when it is currently playing.

Attributes

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

State of the player once it is prepared to play.

State of the player once it is prepared to play.

Attributes

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

State of the player when data coming into the buffer has slowed or stopped and the playback buffer does not have enough data to continue playing.

State of the player when data coming into the buffer has slowed or stopped and the playback buffer does not have enough data to continue playing.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Status
trait SFXEnumDelegate[Status]
trait SFXDelegate[Status]
class Object
trait Matchable
class Any
Show all
Self type
Stalled.type
case object Stopped extends Status

State of the player when playback has stopped.

State of the player when playback has stopped.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Status
trait SFXEnumDelegate[Status]
trait SFXDelegate[Status]
class Object
trait Matchable
class Any
Show all
Self type
Stopped.type
case object Unknown extends Status

State of the player immediately after creation.

State of the player immediately after creation.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Status
trait SFXEnumDelegate[Status]
trait SFXDelegate[Status]
class Object
trait Matchable
class Any
Show all
Self type
Unknown.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: Status): 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: Status): 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 HALTED: Status

Attributes

Deprecated
true
val PAUSED: Status

Attributes

Deprecated
true

Attributes

Deprecated
true
val READY: Status

Attributes

Deprecated
true

Attributes

Deprecated
true

Attributes

Deprecated
true

Attributes

Deprecated
true

Inherited fields

lazy val values: List[Status]

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: Status): 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