Class ControlAnimation

    • Field Detail

      • totalTime

        protected int totalTime
      • executedTime

        protected int executedTime
      • releaseScreenShot

        protected boolean releaseScreenShot
      • delayAfterFinish

        public int delayAfterFinish
        A delay issued right after the animation finishes
      • useOffscreen

        public boolean useOffscreen
        Use or not the offscreen.
    • Method Detail

      • start

        public void start()
      • stop

        public void stop​(boolean abort)
      • computeSpeed

        protected double computeSpeed​(double distance)
      • updateListenerTriggered

        public void updateListenerTriggered​(int elapsedMilliseconds)
        Description copied from interface: UpdateListener
        Called regularly by the system.
        Specified by:
        updateListenerTriggered in interface UpdateListener
        Parameters:
        elapsedMilliseconds - number of milliseconds since the last UpdateListenerTriggered call
      • animate

        protected abstract void animate()
      • setAnimationFinishedAction

        public void setAnimationFinishedAction​(ControlAnimation.AnimationFinished animationFinished)
        Sets the action that will be performed after the animation finishes
        Parameters:
        animationFinished -