Class AWTDefaultPulseSource
java.lang.Object
org.pushingpixels.radiance.animation.api.RadianceAnimationCortex.FixedRatePulseSource
org.pushingpixels.radiance.animation.internal.swing.AWTDefaultPulseSource
- All Implemented Interfaces:
RadianceAnimationCortex.PulseSource
Default pulse source which derives the pulse delay from
the highest refresh rate of all local screen devices.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
Refresh rate to use if none of the screen devices report a valid refresh rate. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.pushingpixels.radiance.animation.api.RadianceAnimationCortex.FixedRatePulseSource
waitUntilNextPulse
-
Field Details
-
REFRESH_RATE_FALLBACK
private static final int REFRESH_RATE_FALLBACKRefresh rate to use if none of the screen devices report a valid refresh rate.- See Also:
-
-
Constructor Details
-
AWTDefaultPulseSource
public AWTDefaultPulseSource()
-
-
Method Details
-
getHighestDisplayRefreshRate
private static int getHighestDisplayRefreshRate()
-