Class AnimationUtils


  • public final class AnimationUtils
    extends java.lang.Object
    Provides some behavior useful in the animation framework, or to implement custom animation functions and animations.
    Version:
    $Revision: 1.7 $
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  AnimationUtils.StopListener
      Performs a runnable at animation stop in the event dispatch thread (EDT).
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private AnimationUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void invokeOnStop​(Animation animation, java.lang.Runnable runnable)
      Invokes the given runnable in the EDT when the specified animation stopped.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnimationUtils

        private AnimationUtils()
    • Method Detail

      • invokeOnStop

        public static void invokeOnStop​(Animation animation,
                                        java.lang.Runnable runnable)
        Invokes the given runnable in the EDT when the specified animation stopped.
        Parameters:
        animation - the animation that is observed
        runnable - the runnable that will be executed on animation stop