AnimationTimer

abstract class AnimationTimer(val delegate: AnimationTimer) extends SFXDelegate[AnimationTimer]
Value Params
delegate

JavaFX AnimationTimer to be delegated.

Constructor

Creates a new ScalaFX AnimationTimer from a JavaFX AnimationTimer.

Companion
object
trait SFXDelegate[AnimationTimer]
class Object
trait Matchable
class Any

Value members

Concrete methods

def handle(now: Long): Unit

This method needs to be overridden by extending classes.

This method needs to be overridden by extending classes.

Value Params
now

The timestamp of the current frame given in nanoseconds. This value will be the same for all AnimationTimer's called during one frame.

def start(): Unit

Starts the AnimationTimer's.

Starts the AnimationTimer's.

def stop(): Unit

Stops the AnimationTimer's. It can be activated again by calling start.

Stops the AnimationTimer's. It can be activated again by calling start.

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