public static interface TimingSource.PostTickListener
TimingSource
object after all registered
TimingSource.TickListener
objects have been notified. The
TimingSource.PostTickListener
implementation is registered as a listener of the
TimingSource
via the
TimingSource.addPostTickListener(PostTickListener)
method.
For example, a TimingSource.PostTickListener
could be used to call
repaint() after a large number of animations (which register
themselves as TimingSource.TickListener
s) have updated the program's state.
Modifier and Type | Method and Description |
---|---|
void |
timingSourcePostTick(TimingSource source,
long nanoTime)
This method is called by the
TimingSource object while the timer
is running. |
void timingSourcePostTick(TimingSource source, long nanoTime)
TimingSource
object while the timer
is running. It indicates a tick of time has passed and that all
registered TimingSource.TickListener
objects have been notified.source
- the object that invoked this call.nanoTime
- the current value of the most precise available system timer, in
nanoseconds.