Basics
Guides
API Reference
Basics
Guides
API Reference
[12:7] extends: FxObj
Wraps JavaFX PauseTransition, an animation that waits for a specified duration then fires its onFinished handler, useful for sequencing other animations or delaying actions. The duration is given in milliseconds. Call play() to start the timer, stop() to cancel it, and setOnFinished() to register the callback that runs when the pause expires.
PauseTransition (double Millis)
Creates a new PauseTransition with the specified duration.
Millis is a double with the pause duration in milliseconds.play ()
Starts the pause timer.
this object.stop ()
Stops and cancels the pause timer.
this object.setOnFinished (callback OnFinished)
Registers a callback to invoke when the pause duration expires.
OnFinished is a callback invoked with an ActionEvent when the pause completes.this object.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.