AnimationTimer

Companion Object for scalafx.animation.AnimationTimer.

Companion Object for scalafx.animation.AnimationTimer.

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(handler: Long => Unit): AnimationTimer

Creates a new scalafx.animation.AnimationTimer from a handle function that receives a Long parameter.

Creates a new scalafx.animation.AnimationTimer from a handle function that receives a Long parameter.

Value Params
handler

function that is called in every frame while the AnimationTimer is active.

Returns

a new AnimationTimer.

Implicits

Implicits

implicit def sfxAnimationTimer2jfx(at: AnimationTimer): AnimationTimer

Converts a ScalaFX AnimationTimer to a JavaFX `AnimationTimer`, extracting its delegate.

Converts a ScalaFX AnimationTimer to a JavaFX `AnimationTimer`, extracting its delegate.

Value Params
at

ScalaFX AnimationTimer

Returns

JavaFX AnimationTimer extracted from at.