Interface Overlay
-
- All Known Implementing Classes:
AbstractAnimatedOverlay
,LayeredOverlay
public interface Overlay
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addComponent(javax.swing.JComponent comp)
Adds a component to this overlay.boolean
isAnimated()
Returns true if the overlay is animated.void
paintOverlay(javax.swing.JComponent comp, java.awt.Graphics2D g, java.awt.Rectangle rect)
Paint the overlay for a given quality monitoring componentvoid
removeAllComponents()
Removes all child components.void
removeComponent(javax.swing.JComponent comp)
Removes a component from this overlay.
-
-
-
Method Detail
-
paintOverlay
void paintOverlay(javax.swing.JComponent comp, java.awt.Graphics2D g, java.awt.Rectangle rect)
Paint the overlay for a given quality monitoring component
-
isAnimated
boolean isAnimated()
Returns true if the overlay is animated. Animated components keep track of their components
-
addComponent
void addComponent(javax.swing.JComponent comp)
Adds a component to this overlay. Used for animated overlay so that they know who to animate.
-
removeComponent
void removeComponent(javax.swing.JComponent comp)
Removes a component from this overlay. Used for animated overlay so that they know who to animate.
-
removeAllComponents
void removeAllComponents()
Removes all child components. Should stop any animation timers.
-
-