Example usage for javafx.animation Animation stop

List of usage examples for javafx.animation Animation stop

Introduction

In this page you can find the example usage for javafx.animation Animation stop.

Prototype

public void stop() 

Source Link

Document

Stops the animation and resets the play head to its initial position.

Usage

From source file:org.noroomattheinn.visibletesla.LocationController.java

private void stopBlip(Animation blip) {
    EventHandler<ActionEvent> cleanup = blip.getOnFinished();
    blip.stop();
    cleanup.handle(null);
}