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