Class LayeredOverlay
- java.lang.Object
- 
- com.inductiveautomation.factorypmi.application.components.overlay.AbstractAnimatedOverlay
- 
- com.inductiveautomation.factorypmi.application.components.overlay.LayeredOverlay
 
 
- 
- All Implemented Interfaces:
- Overlay,- java.awt.event.ActionListener,- java.util.EventListener
 
 public class LayeredOverlay extends AbstractAnimatedOverlay implements java.awt.event.ActionListener 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.List<OverlayLayer>layers- 
Fields inherited from class com.inductiveautomation.factorypmi.application.components.overlay.AbstractAnimatedOverlaycomps
 
- 
 - 
Constructor SummaryConstructors Constructor Description LayeredOverlay()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)voidaddOverlay(OverlayLayer layer)static LayeredOverlaycreate(OverlayLayer... layers)java.util.List<OverlayLayer>getLayers()booleanisAnimated()Returns true if the overlay is animated.voidpaintOverlay(javax.swing.JComponent comp, java.awt.Graphics2D g, java.awt.Rectangle rect)Paint the overlay for a given quality monitoring componentvoidsetDelay(int delay)Sets the time delay in milliseconds between each timer step (if this overlay contains any animated layers)voidsetLayers(java.util.List<OverlayLayer> layers)voidsetTimerSteps(int timerSteps)Sets the number of timer steps to step throughprotected voidstartAnimation()protected voidstopAnimation()- 
Methods inherited from class com.inductiveautomation.factorypmi.application.components.overlay.AbstractAnimatedOverlayaddComponent, removeAllComponents, removeComponent, repaintAllComponents
 
- 
 
- 
- 
- 
Field Detail- 
layersprotected java.util.List<OverlayLayer> layers 
 
- 
 - 
Method Detail- 
createpublic static LayeredOverlay create(OverlayLayer... layers) 
 - 
addOverlaypublic void addOverlay(OverlayLayer layer) 
 - 
getLayerspublic java.util.List<OverlayLayer> getLayers() 
 - 
setLayerspublic void setLayers(java.util.List<OverlayLayer> layers) 
 - 
isAnimatedpublic boolean isAnimated() Description copied from interface:OverlayReturns true if the overlay is animated. Animated components keep track of their components- Specified by:
- isAnimatedin interface- Overlay
 
 - 
paintOverlaypublic void paintOverlay(javax.swing.JComponent comp, java.awt.Graphics2D g, java.awt.Rectangle rect)Description copied from interface:OverlayPaint the overlay for a given quality monitoring component- Specified by:
- paintOverlayin interface- Overlay
 
 - 
startAnimationprotected void startAnimation() - Specified by:
- startAnimationin class- AbstractAnimatedOverlay
 
 - 
stopAnimationprotected void stopAnimation() - Specified by:
- stopAnimationin class- AbstractAnimatedOverlay
 
 - 
actionPerformedpublic void actionPerformed(java.awt.event.ActionEvent e) - Specified by:
- actionPerformedin interface- java.awt.event.ActionListener
 
 - 
setDelaypublic void setDelay(int delay) Sets the time delay in milliseconds between each timer step (if this overlay contains any animated layers)
 - 
setTimerStepspublic void setTimerSteps(int timerSteps) Sets the number of timer steps to step through
 
- 
 
-