Maven module :un.api : api-display :
Class : un.api.anim.Timer
Extends/Implements : un.api.event.EventSource
Subclasses : -

A timer is responsible for updating animation at defined intervals.
This allows to obtain various refresh behaviors.
The timer generates a 'pulse' which is visible when listening to the updatetime property.

@author Johann Sorel


Variables : PROPERTY_UPDATETIME
Functions : getTime, getUpdateTime, varUpdateTime


public Chars PROPERTY_UPDATETIME



Current timer time in nanoseconds.
return  current timer time in nanoseconds.
long getTime ()


Last timer update time in nanoseconds.
return  last update time in nanoseconds.
long getUpdateTime ()


Update time variable.
return  Update time variable.
Variable varUpdateTime ()