Class TimedOpacityHelper

java.lang.Object
noaa.coastwatch.gui.TimedOpacityHelper
All Implemented Interfaces:
OpacityHelper

public class TimedOpacityHelper extends Object implements OpacityHelper
Since:
3.8.1
Author:
Peter Hollemans
  • Constructor Details

    • TimedOpacityHelper

      public TimedOpacityHelper(Component component, float minimumAlpha, int maximumInactivity)
      Creates a new helper that updates the opacity of the specified container after a timeout period with no mouse movement.
      Parameters:
      component - the component to update. The component and its children must use the helper to paint using the new opacity value via setupGraphics(java.awt.Graphics).
      minimumAlpha - the minimum alpha value to use.
      maximumInactivity - the maximum inactivity period in milliseconds.
  • Method Details