- All Superinterfaces:
Runnable
- All Known Implementing Classes:
DefaultAnimator,SynchronousAnimator
Animator executes multiple Interpolator's on a worker thread.
- Author:
- Werner Randelshofer
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddChangeListener(ChangeListener listener) voidvoiddispatch(Interpolator interpolator) Dispatches an interpolator for the animation thread.booleanisActive()booleanvoidremoveChangeListener(ChangeListener listener) voidrun()voidSet the lock object, on which the animator synchronizes while animating the interpolators.voidstart()voidstop()
-
Method Details
-
setLock
Set the lock object, on which the animator synchronizes while animating the interpolators. -
isActive
boolean isActive() -
start
void start() -
stop
void stop() -
dispatch
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() -
addChangeListener
-
removeChangeListener
-
isSynchronous
boolean isSynchronous()
-