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 Details

    • 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:
  • Constructor Details

    • AWTDefaultPulseSource

      public AWTDefaultPulseSource()
  • Method Details

    • getHighestDisplayRefreshRate

      private static int getHighestDisplayRefreshRate()