Skip navigation links
C H I J N R S T 

C

callInNextFrame(block) - Method in class io.data2viz.timer.JavaFxTimer
 

H

handle(now) - Method in class io.data2viz.timer.JavaFxTimer
 

I

interval(delay, startTime, callback) - Static method in class io.data2viz.timer.TimerKt
 
io.data2viz.timer - package io.data2viz.timer
 

J

JavaFxTimer - Class in io.data2viz.timer
 
JavaFxTimer() - Constructor for class io.data2viz.timer.JavaFxTimer
 

N

now() - Static method in class io.data2viz.timer.TimerKt
Returns the current time as defined by performance.now (elapsed time since document creation) if available, and Date.now if not (elapsed time since 1970/01/01 00:00:00).

R

restart(delay, startTime, callback) - Method in class io.data2viz.timer.Timer
Restart a timer with the specified callback and optional delay and time. This is equivalent to stopping this timer and creating a new timer with the specified arguments, although this timer retains the original invocation priority.

S

stop() - Method in class io.data2viz.timer.Timer
Stops this timer, preventing subsequent callbacks. This method has no effect if the timer has already stopped.

T

timeout(delay, startTime, callback) - Static method in class io.data2viz.timer.TimerKt
Like timer, except the timer automatically stops on its first callback. A suitable replacement for setTimeout that is guaranteed to not run in the background. The callback is passed the elapsed time.
Timer - Class in io.data2viz.timer
 
Timer() - Constructor for class io.data2viz.timer.Timer
 
timer(delay, startTime, callback) - Static method in class io.data2viz.timer.TimerKt
Schedules a new timer, invoking the specified callback repeatedly until the timer is stopped.
timerFlush() - Static method in class io.data2viz.timer.TimerKt
Immediately invoke any eligible timer callbacks. Note that zero-delay timers are normally first executed after one frame (~17ms). This can cause a brief flicker because the browser renders the page twice: once at the end of the first event loop, then again immediately on the first timer callback. By flushing the timer queue at the end of the first event loop, you can run any zero-delay timers immediately and avoid the flicker.
TimerJVMKt - Class in io.data2viz.timer
 
TimerKt - Class in io.data2viz.timer
 
toString() - Method in class io.data2viz.timer.Timer
 
C H I J N R S T 
Skip navigation links