Class AbstractTrailOverlay

  • All Implemented Interfaces:
    adams.core.CleanUpHandler, adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.ShallowCopySupporter<adams.gui.visualization.image.AbstractImageOverlay>, adams.core.SizeOfHandler, adams.gui.visualization.image.ImageOverlay, Serializable
    Direct Known Subclasses:
    Null

    public abstract class AbstractTrailOverlay
    extends adams.gui.visualization.image.AbstractImageOverlay
    Ancestor for trail overlays.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected TrailPanel m_TrailPanel
      the trail panel.
      • Fields inherited from class adams.gui.visualization.image.AbstractImageOverlay

        m_Enabled
      • Fields inherited from class adams.core.option.AbstractOptionHandler

        m_OptionManager
      • Fields inherited from class adams.core.logging.LoggingObject

        m_Logger, m_LoggingIsEnabled, m_LoggingLevel
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TrailPanel getTrailPanel()
      Returns the trail panel this overlay is for.
      void paintOverlay​(adams.gui.visualization.image.ImagePanel.PaintPanel panel, Graphics g)
      Paints the overlay over the image.
      void setTrailPanel​(TrailPanel value)
      Sets the trail panel this overlay is for.
      • Methods inherited from class adams.gui.visualization.image.AbstractImageOverlay

        cleanUp, defineOptions, doImageChanged, doPaintOverlay, enabledTipText, imageChanged, isEnabled, overlayAdded, overlayRemoved, setEnabled, shallowCopy, shallowCopy
      • Methods inherited from class adams.core.option.AbstractOptionHandler

        cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
      • Methods inherited from class adams.core.logging.LoggingObject

        configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
      • Methods inherited from interface adams.core.Destroyable

        destroy
      • Methods inherited from interface adams.core.logging.LoggingLevelHandler

        getLoggingLevel
      • Methods inherited from interface adams.core.option.OptionHandler

        cleanUpOptions, getOptionManager, toCommandLine
    • Field Detail

      • m_TrailPanel

        protected TrailPanel m_TrailPanel
        the trail panel.
    • Constructor Detail

      • AbstractTrailOverlay

        public AbstractTrailOverlay()
    • Method Detail

      • setTrailPanel

        public void setTrailPanel​(TrailPanel value)
        Sets the trail panel this overlay is for.
        Parameters:
        value - the panel
      • getTrailPanel

        public TrailPanel getTrailPanel()
        Returns the trail panel this overlay is for.
        Returns:
        the panel
      • paintOverlay

        public void paintOverlay​(adams.gui.visualization.image.ImagePanel.PaintPanel panel,
                                 Graphics g)
        Paints the overlay over the image.
        Specified by:
        paintOverlay in interface adams.gui.visualization.image.ImageOverlay
        Overrides:
        paintOverlay in class adams.gui.visualization.image.AbstractImageOverlay
        Parameters:
        panel - the panel this overlay is for
        g - the graphics context