org.jdesktop.animation.timing
public interface TimingEventListener
TimingSource
object. The TimingEventListener would be added as a
listener to the TimingSource object via the TimingSource.addEventListener(TimingEventListener)
method.
This functionality is handled automatically inside of Animator
. To
use a non-default TimingSource object for Animator, simply call
Animator.setTimer(TimingSource)
and the appropriate listeners
will be set up internally.
Modifier and Type | Method and Description |
---|---|
void |
timingSourceEvent(TimingSource timingSource)
This method is called by the
TimingSource object while the
timer is running. |
void timingSourceEvent(TimingSource timingSource)
TimingSource
object while the
timer is running.timingSource
- the object that generates the timing events.