Package org.jdesktop.animation.timing
Interface TimingEventListener
-
public interface TimingEventListenerThis interface is implemented by any object wishing to receive events from aTimingSourceobject. The TimingEventListener would be added as a listener to the TimingSource object via theTimingSource.addEventListener(TimingEventListener)method.This functionality is handled automatically inside of
Animator. To use a non-default TimingSource object for Animator, simply callAnimator.setTimer(TimingSource)and the appropriate listeners will be set up internally.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidtimingSourceEvent(TimingSource timingSource)This method is called by theTimingSourceobject while the timer is running.
-
-
-
Method Detail
-
timingSourceEvent
void timingSourceEvent(TimingSource timingSource)
This method is called by theTimingSourceobject while the timer is running.- Parameters:
timingSource- the object that generates the timing events.
-
-