Interface Animation

    • Method Detail

      • duration

        long duration()
        Returns this animation's duration.
        Returns:
        this animation duration
      • animate

        void animate​(long time)
        Animates for the given time, that is, applies the animation effect to the animation target and fires events when the animation is started, stopped or repeated.
        Parameters:
        time - the time used to determine the animation effect
      • addAnimationListener

        void addAnimationListener​(AnimationListener listener)
        Adds the given AnimationListener to this animation.
        Parameters:
        listener - the AnimationListener to add
      • removeAnimationListener

        void removeAnimationListener​(AnimationListener listener)
        Removes the given AnimationListener from this animation.
        Parameters:
        listener - the AnimationListener to remove