Class AbstractSingleColorHeatmapOverlay

  • 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:
    Centroid, HighestTemperature, LowestTemperature

    public abstract class AbstractSingleColorHeatmapOverlay
    extends AbstractHeatmapOverlay
    Ancestor for overlays that just use a single color.
    Version:
    $Revision: 10480 $
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Color m_Color
      the color to paint the centroid in.
      • 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
      String colorTipText()
      Returns the tip text for this property.
      void defineOptions()
      Adds options to the internal list of options.
      Color getColor()
      Returns the color for the overlay.
      void setColor​(Color value)
      Sets the color for the overlay.
      • Methods inherited from class adams.gui.visualization.image.AbstractImageOverlay

        cleanUp, 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_Color

        protected Color m_Color
        the color to paint the centroid in.
    • Constructor Detail

      • AbstractSingleColorHeatmapOverlay

        public AbstractSingleColorHeatmapOverlay()
    • Method Detail

      • defineOptions

        public void defineOptions()
        Adds options to the internal list of options.
        Specified by:
        defineOptions in interface adams.core.option.OptionHandler
        Overrides:
        defineOptions in class adams.gui.visualization.image.AbstractImageOverlay
      • setColor

        public void setColor​(Color value)
        Sets the color for the overlay.
        Parameters:
        value - the color
      • getColor

        public Color getColor()
        Returns the color for the overlay.
        Returns:
        the color
      • colorTipText

        public String colorTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.