Class LayeredOverlay
java.lang.Object
com.inductiveautomation.factorypmi.application.components.overlay.AbstractAnimatedOverlay
com.inductiveautomation.factorypmi.application.components.overlay.LayeredOverlay
- All Implemented Interfaces:
- Overlay,- ActionListener,- EventListener
- 
Field SummaryFieldsFields inherited from class com.inductiveautomation.factorypmi.application.components.overlay.AbstractAnimatedOverlaycomps
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidaddOverlay(OverlayLayer layer) static LayeredOverlaycreate(OverlayLayer... layers) booleanReturns true if the overlay is animated.voidpaintOverlay(JComponent comp, Graphics2D g, 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(List<OverlayLayer> layers) voidsetTimerSteps(int timerSteps) Sets the number of timer steps to step throughprotected voidprotected voidMethods inherited from class com.inductiveautomation.factorypmi.application.components.overlay.AbstractAnimatedOverlayaddComponent, removeAllComponents, removeComponent, repaintAllComponents
- 
Field Details- 
layers
 
- 
- 
Constructor Details- 
LayeredOverlaypublic LayeredOverlay()
 
- 
- 
Method Details- 
create
- 
addOverlay
- 
getLayers
- 
setLayers
- 
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
 
- 
paintOverlayDescription 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
 
- 
actionPerformed- Specified by:
- actionPerformedin interface- 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
 
-