Media

scalafx.scene.media.Media
See theMedia companion object
class Media(val delegate: Media) extends SFXDelegate[Media]

Attributes

Companion
object
Graph
Supertypes
trait SFXDelegate[Media]
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(source: String)

Constructs a Media instance.

Constructs a Media instance.

Attributes

Concrete methods

The duration in seconds of the source media.

The duration in seconds of the source media.

Attributes

def error: ReadOnlyObjectProperty[MediaException]

A property set to a MediaException value when an error occurs.

A property set to a MediaException value when an error occurs.

Attributes

The height in pixels of the source media.

The height in pixels of the source media.

Attributes

def markers: ObservableMap[String, Duration]

Retrieve the markers defined on this Media instance.

Retrieve the markers defined on this Media instance.

Attributes

def metadata: ObservableMap[String, AnyRef]

Retrieve the metadata contained in this media source.

Retrieve the metadata contained in this media source.

Attributes

def onError: ObjectProperty[Runnable]

Event handler called when an error occurs.

Event handler called when an error occurs.

Attributes

def onError_=(v: Runnable): Unit
def onError_=(op: => Unit): Unit
def source: String

Retrieve the source URI of the media.

Retrieve the source URI of the media.

Attributes

def tracks: ObservableBuffer[Track]

Retrieve the tracks contained in this media source.

Retrieve the tracks contained in this media source.

Attributes

The width in pixels of the source media.

The width in pixels of the source media.

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

Concrete fields

override val delegate: Media

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes