java.lang.Object
com.inductiveautomation.factorypmi.application.components.overlay.AbstractAnimatedOverlay
All Implemented Interfaces:
Overlay
Direct Known Subclasses:
LayeredOverlay

public abstract class AbstractAnimatedOverlay extends Object implements Overlay
Provides the plumbing to keep track of the overlay's components if the overlay is animated.
  • Field Details

  • Constructor Details

    • AbstractAnimatedOverlay

      public AbstractAnimatedOverlay()
  • Method Details

    • stopAnimation

      protected abstract void stopAnimation()
    • startAnimation

      protected abstract void startAnimation()
    • addComponent

      public void addComponent(JComponent comp)
      Description copied from interface: Overlay
      Adds a component to this overlay. Used for animated overlay so that they know who to animate.
      Specified by:
      addComponent in interface Overlay
    • removeAllComponents

      public void removeAllComponents()
      Description copied from interface: Overlay
      Removes all child components. Should stop any animation timers.
      Specified by:
      removeAllComponents in interface Overlay
    • removeComponent

      public void removeComponent(JComponent comp)
      Description copied from interface: Overlay
      Removes a component from this overlay. Used for animated overlay so that they know who to animate.
      Specified by:
      removeComponent in interface Overlay
    • repaintAllComponents

      protected void repaintAllComponents()