AnimationTimer

scalafx.animation.AnimationTimer
See theAnimationTimer companion class

Companion Object for scalafx.animation.AnimationTimer.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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 parameters

handler

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

Attributes

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 parameters

at

ScalaFX AnimationTimer

Attributes

Returns

JavaFX AnimationTimer extracted from at.