Duration

class Duration(val delegate: Duration) extends SFXDelegate[Duration] with Ordered[Duration]

Wraps a JavaFX `Duration`.

Wraps a JavaFX `Duration`.

Value Params
delegate

JavaFX Duration to be delegated.

Constructor

Creates a new Duration from a JavaFX Duration.

Companion
object
trait Ordered[Duration]
trait Comparable[Duration]
trait SFXDelegate[Duration]
class Object
trait Matchable
class Any

Value members

Constructors

def this(millis: Double)

The constructor of Duration

The constructor of Duration

Value Params
millis

The length of the Duration in milliseconds

Concrete methods

def !=(d: Duration): Boolean
def *(d: Double): Duration
def +(d: Duration): Duration
def -(d: Duration): Duration
def /(d: Double): Duration
def /(d: Duration): Double
def <(d: Duration): Boolean
def <=(d: Duration): Boolean
def =!=(d: Duration): Boolean
def ==(d: Duration): Boolean
def ===(d: Duration): Boolean
def >(d: Duration): Boolean
def >=(d: Duration): Boolean
override def compare(that: Duration): Int
Definition Classes
Ordered

Inherited methods

def <(that: Duration): Boolean
Inherited from
Ordered
def <=(that: Duration): Boolean
Inherited from
Ordered
def >(that: Duration): Boolean
Inherited from
Ordered
def >=(that: Duration): Boolean
Inherited from
Ordered
def compareTo(that: Duration): Int
Inherited from
Ordered
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 Params
ref

Object to be compared.

Returns

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

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

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

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: Duration