Class Animations.ParallelAnimation

  • All Implemented Interfaces:
    Animation
    Enclosing class:
    Animations

    private static final class Animations.ParallelAnimation
    extends AbstractAnimation
    Helper class to parallelize animations.
    • Field Detail

      • animations

        private final java.util.List<Animation> animations
    • Constructor Detail

      • ParallelAnimation

        private ParallelAnimation​(java.util.List<Animation> animations)
    • Method Detail

      • maxDuration

        private static long maxDuration​(java.util.List<Animation> animations)
      • applyEffect

        protected void applyEffect​(long time)
        Description copied from class: AbstractAnimation
        Applies the animation effect for the given time to the animation target.
        Specified by:
        applyEffect in class AbstractAnimation
        Parameters:
        time - the time used to determine the animation effect