Class AbstractAnimatedOverlay
- java.lang.Object
- 
- com.inductiveautomation.factorypmi.application.components.overlay.AbstractAnimatedOverlay
 
- 
- All Implemented Interfaces:
- Overlay
 - Direct Known Subclasses:
- LayeredOverlay
 
 public abstract class AbstractAnimatedOverlay extends java.lang.Object implements Overlay Provides the plumbing to keep track of the overlay's components if the overlay is animated.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.HashSet<javax.swing.JComponent>comps
 - 
Constructor SummaryConstructors Constructor Description AbstractAnimatedOverlay()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddComponent(javax.swing.JComponent comp)Adds a component to this overlay.voidremoveAllComponents()Removes all child components.voidremoveComponent(javax.swing.JComponent comp)Removes a component from this overlay.protected voidrepaintAllComponents()protected abstract voidstartAnimation()protected abstract voidstopAnimation()- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.factorypmi.application.components.overlay.OverlayisAnimated, paintOverlay
 
- 
 
- 
- 
- 
Method Detail- 
stopAnimationprotected abstract void stopAnimation() 
 - 
startAnimationprotected abstract void startAnimation() 
 - 
addComponentpublic void addComponent(javax.swing.JComponent comp) Description 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
 
 - 
removeComponentpublic void removeComponent(javax.swing.JComponent comp) Description 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() 
 
- 
 
-