Interface Animator

All Superinterfaces:
Runnable
All Known Implementing Classes:
DefaultAnimator, SynchronousAnimator

public interface Animator extends Runnable
Animator executes multiple Interpolator's on a worker thread.
Author:
Werner Randelshofer
  • Method Details

    • setLock

      void setLock(Object lock)
      Set the lock object, on which the animator synchronizes while animating the interpolators.
    • isActive

      boolean isActive()
    • start

      void start()
    • stop

      void stop()
    • dispatch

      void dispatch(Interpolator interpolator)
      Dispatches an interpolator for the animation thread. This will launch the animation thread if it is not already active.
    • animateStep

      void animateStep()
    • run

      void run()
      Specified by:
      run in interface Runnable
    • addChangeListener

      void addChangeListener(ChangeListener listener)
    • removeChangeListener

      void removeChangeListener(ChangeListener listener)
    • isSynchronous

      boolean isSynchronous()