Class AbstractAnimatedOverlay
java.lang.Object
com.inductiveautomation.factorypmi.application.components.overlay.AbstractAnimatedOverlay
- All Implemented Interfaces:
- Overlay
- Direct Known Subclasses:
- LayeredOverlay
Provides the plumbing to keep track of the overlay's components if the overlay is animated.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddComponent(JComponent comp) Adds a component to this overlay.voidRemoves all child components.voidremoveComponent(JComponent comp) Removes a component from this overlay.protected voidprotected abstract voidprotected abstract voidMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.factorypmi.application.components.overlay.OverlayisAnimated, paintOverlay
- 
Field Details- 
comps
 
- 
- 
Constructor Details- 
AbstractAnimatedOverlaypublic AbstractAnimatedOverlay()
 
- 
- 
Method Details- 
stopAnimationprotected abstract void stopAnimation()
- 
startAnimationprotected abstract void startAnimation()
- 
addComponentDescription copied from interface:OverlayAdds a component to this overlay. Used for animated overlay so that they know who to animate.- Specified by:
- addComponentin interface- Overlay
 
- 
removeAllComponentspublic void removeAllComponents()Description copied from interface:OverlayRemoves all child components. Should stop any animation timers.- Specified by:
- removeAllComponentsin interface- Overlay
 
- 
removeComponentDescription copied from interface:OverlayRemoves a component from this overlay. Used for animated overlay so that they know who to animate.- Specified by:
- removeComponentin interface- Overlay
 
- 
repaintAllComponentsprotected void repaintAllComponents()
 
-