Class AnimatedLabel.AnimationTimerTask

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    AnimatedLabel

    private static class AnimatedLabel.AnimationTimerTask
    extends java.util.TimerTask
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.ref.WeakReference<AnimatedLabel> labelRef  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.util.TimerTask

        cancel, scheduledExecutionTime
      • Methods inherited from class java.lang.Object

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

      • labelRef

        private final java.lang.ref.WeakReference<AnimatedLabel> labelRef
    • Constructor Detail

      • AnimationTimerTask

        private AnimationTimerTask​(AnimatedLabel label)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Specified by:
        run in class java.util.TimerTask