Top Description Fields Constructors Methods
com.sun.javafx.tk.quantum

public final Class PrimaryTimer

extends AbstractPrimaryTimer
Class Inheritance
Imports
java.util.Map, javafx.animation.Timeline, com.sun.javafx.tk.Toolkit, com.sun.scenario.DelayedRunnable, .Settings, com.sun.scenario.animation.AbstractPrimaryTimer, .AnimationPulse

This class encapsulates the global static methods that manage scheduling and actual running of animations against real wall clock time. It only deals in absolute time values - all relative times that are specified in the Timeline class will need to be turned into absolute times when the Timeline objects are started. For now it is hidden until we have some use to expose it.

Field Summary

Modifier and TypeField and Description
private static final Object
Inherited from com.sun.scenario.animation.AbstractPrimaryTimer:
ADAPTIVE_PULSE_PROPANIMATION_MBEAN_ENABLEDenableAnimationMBeanFAILING_TIMER_THRESHOLDFIXED_PULSE_LENGTH_PROPFRAMERATE_PROPFULLSPEED_PROPPULSE_PROP

Constructor Summary

AccessConstructor and Description
private
PrimaryTimer()

Prevent external instantiation of PrimaryTimer

Method Summary

Modifier and TypeMethod and Description
public static synchronized PrimaryTimer
protected int
protected void
protected void
protected void
protected void
Inherited from com.sun.scenario.animation.AbstractPrimaryTimer:
addAnimationTimeraddPulseReceivergetDefaultResolutionisFullspeednanosremoveAnimationTimerremovePulseReceivertimePulseImpl

Field Detail

PRIMARY_TIMER_KEYback to summary
private static final Object PRIMARY_TIMER_KEY

Constructor Detail

PrimaryTimerback to summary
private PrimaryTimer()

Prevent external instantiation of PrimaryTimer

Method Detail

getInstanceback to summary
public static synchronized PrimaryTimer getInstance()
getPulseDurationback to summary
protected int getPulseDuration(int precision)

Implements abstract com.sun.scenario.animation.AbstractPrimaryTimer.getPulseDuration.

Annotations
@Override
postUpdateAnimationRunnableback to summary
protected void postUpdateAnimationRunnable(DelayedRunnable animationRunnable)

Implements abstract com.sun.scenario.animation.AbstractPrimaryTimer.postUpdateAnimationRunnable.

Annotations
@Override
recordAnimationEndback to summary
protected void recordAnimationEnd()

Overrides com.sun.scenario.animation.AbstractPrimaryTimer.recordAnimationEnd.

Annotations
@Override
recordEndback to summary
protected void recordEnd()

Overrides com.sun.scenario.animation.AbstractPrimaryTimer.recordEnd.

Annotations
@Override
recordStartback to summary
protected void recordStart(long shiftMillis)

Overrides com.sun.scenario.animation.AbstractPrimaryTimer.recordStart.

Annotations
@Override