adams.gui.visualization.heatmap
Class AbstractHeatmapOverlay

java.lang.Object
  extended by adams.core.ConsoleObject
      extended by adams.core.option.AbstractOptionHandler
          extended by adams.gui.visualization.image.AbstractImageOverlay
              extended by adams.gui.visualization.heatmap.AbstractHeatmapOverlay
All Implemented Interfaces:
Debuggable, Destroyable, OptionHandler, SizeOfHandler, ImageOverlay, Serializable
Direct Known Subclasses:
CentroidOverlay

public abstract class AbstractHeatmapOverlay
extends AbstractImageOverlay

Ancestor for heatmap image overlays.

Version:
$Revision: 6027 $
Author:
fracpete (fracpete at waikato dot ac dot nz)
See Also:
Serialized Form

Field Summary
protected  HeatmapPanel m_HeatmapPanel
          the heatmap panel.
 
Fields inherited from class adams.gui.visualization.image.AbstractImageOverlay
m_Enabled
 
Fields inherited from class adams.core.option.AbstractOptionHandler
m_DebugLevel, m_OptionManager
 
Constructor Summary
AbstractHeatmapOverlay()
           
 
Method Summary
 HeatmapPanel getHeatmapPanel()
          Returns the heatmap panel this overlay is for.
 void paintOverlay(ImagePanel.PaintPanel panel, Graphics g)
          Paints the overlay over the image.
 void setHeatmapPanel(HeatmapPanel value)
          Sets the heatmap panel this overlay is for.
 
Methods inherited from class adams.gui.visualization.image.AbstractImageOverlay
defineOptions, doPaintOverlay, enabledTipText, isEnabled, setEnabled
 
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, globalInfo, initialize, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString
 
Methods inherited from class adams.core.ConsoleObject
getDebugging, getSystemErr, getSystemOut, sizeOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_HeatmapPanel

protected HeatmapPanel m_HeatmapPanel
the heatmap panel.

Constructor Detail

AbstractHeatmapOverlay

public AbstractHeatmapOverlay()
Method Detail

setHeatmapPanel

public void setHeatmapPanel(HeatmapPanel value)
Sets the heatmap panel this overlay is for.

Parameters:
value - the panel

getHeatmapPanel

public HeatmapPanel getHeatmapPanel()
Returns the heatmap panel this overlay is for.

Returns:
the panel

paintOverlay

public void paintOverlay(ImagePanel.PaintPanel panel,
                         Graphics g)
Paints the overlay over the image.

Specified by:
paintOverlay in interface ImageOverlay
Overrides:
paintOverlay in class AbstractImageOverlay
Parameters:
panel - the panel this overlay is for
g - the graphics context


Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.