Class LayeredOverlay

  • All Implemented Interfaces:
    Overlay, java.awt.event.ActionListener, java.util.EventListener

    public class LayeredOverlay
    extends AbstractAnimatedOverlay
    implements java.awt.event.ActionListener
    • Constructor Detail

      • LayeredOverlay

        public LayeredOverlay()
    • Method Detail

      • addOverlay

        public void addOverlay​(OverlayLayer layer)
      • getLayers

        public java.util.List<OverlayLayer> getLayers()
      • setLayers

        public void setLayers​(java.util.List<OverlayLayer> layers)
      • isAnimated

        public boolean isAnimated()
        Description copied from interface: Overlay
        Returns true if the overlay is animated. Animated components keep track of their components
        Specified by:
        isAnimated in interface Overlay
      • paintOverlay

        public void paintOverlay​(javax.swing.JComponent comp,
                                 java.awt.Graphics2D g,
                                 java.awt.Rectangle rect)
        Description copied from interface: Overlay
        Paint the overlay for a given quality monitoring component
        Specified by:
        paintOverlay in interface Overlay
      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
      • setDelay

        public void setDelay​(int delay)
        Sets the time delay in milliseconds between each timer step (if this overlay contains any animated layers)
      • setTimerSteps

        public void setTimerSteps​(int timerSteps)
        Sets the number of timer steps to step through