AudioClip

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

Attributes

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

Members list

Value members

Constructors

def this(source: String)

Create an AudioClip loaded from the supplied source URL

Create an AudioClip loaded from the supplied source URL

Attributes

Concrete methods

The relative left and right volume levels of the clip.

The relative left and right volume levels of the clip.

Attributes

def balance_=(v: Double): Unit

The number of times the clip will be played when play() is called.

The number of times the clip will be played when play() is called.

Attributes

def cycleCount_=(v: Int): Unit

The relative "center" of the clip.

The relative "center" of the clip.

Attributes

def pan_=(v: Double): Unit

The relative priority of the clip with respect to other clips.

The relative priority of the clip with respect to other clips.

Attributes

def priority_=(v: Int): Unit

The relative rate at which the clip is played.

The relative rate at which the clip is played.

Attributes

def rate_=(v: Double): Unit
def source: String

Get the source URL used to create this AudioClip.

Get the source URL used to create this AudioClip.

Attributes

The relative volume level at which the clip is played.

The relative volume level at which the clip is played.

Attributes

def volume_=(v: Double): Unit

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: AudioClip

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes