Typhon0 / AnimateFX

A library of +70 ready-to-use animations for JavaFX
Apache License 2.0
462 stars 67 forks source link

added option to run events after animation #5

Closed OguzcanKarakoc closed 6 years ago

OguzcanKarakoc commented 6 years ago

Added a feature that allows to run events after an animation timeline is done. This way I can use

AnimationFX animationFX = new SlideOutRight(GLOBALS.getRootPane().getChildren().get(0));
animationFX.setOnFinished(event -> {
    GLOBALS.getRootPane().getChildren().clear();
  });
animationFX.play();

So after the animation is played and the root pane is out of the screen I can remove it. This is just one example.

BlackDuckCoPilot commented 6 years ago

Black Duck Security Report

Merging #5 into master will not change security risk.

Click here to see full report

OguzcanKarakoc commented 6 years ago

😕 I wonder why it's stating that it the check for openjdk10 is failing . . . I see:

Setting APT mirror in /etc/apt/sources.list: http://us-east-1.ec2.archive.ubuntu.com/ubuntu/
oraclejdk10 is deprecated. See https://www.oracle.com/technetwork/java/javase/eol-135779.html for more details. Consider using openjdk10 instead.

In the logs.

Typhon0 commented 6 years ago

Thanks for the contributions 😄

😕 I wonder why it's stating that it the check for openjdk10 is failing . . . I see:

Setting APT mirror in /etc/apt/sources.list: http://us-east-1.ec2.archive.ubuntu.com/ubuntu/
oraclejdk10 is deprecated. See https://www.oracle.com/technetwork/java/javase/eol-135779.html for more details. Consider using openjdk10 instead.

In the logs.

It's because oraclejdk10 is not supported anymore on Travis CI, I will switch to openjdk10. See this