Duration

scalafx.util.Duration
See theDuration companion object
class Duration(val delegate: Duration) extends SFXDelegate[Duration], Ordered[Duration]

Wraps a JavaFX $D.

Value parameters

delegate

JavaFX $D to be delegated.

Attributes

Constructor

Creates a new $D from a JavaFX $D.

Companion
object
Graph
Supertypes
trait Ordered[Duration]
trait Comparable[Duration]
trait SFXDelegate[Duration]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(millis: Double)

The constructor of Duration

The constructor of Duration

Value parameters

millis

The length of the Duration in milliseconds

Attributes

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

Attributes

Definition Classes

Inherited methods

Attributes

Inherited from:
Ordered

Attributes

Inherited from:
Ordered

Attributes

Inherited from:
Ordered

Attributes

Inherited from:
Ordered

Attributes

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

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes