Package adams.gui.visualization.image
Interface ImageOverlay
-
- All Superinterfaces:
CleanUpHandler
,Destroyable
,OptionHandler
- All Known Subinterfaces:
TypeColorProvider
- All Known Implementing Classes:
AbstractColorProviderPixelSelectorOverlay
,AbstractImageOverlay
,AbstractObjectOverlayFromReport
,AbstractPixelSelectorOverlay
,AbstractPointOverlayFromReport
,AbstractSingleColorPixelSelectorOverlay
,BoofCVDetectLineSegmentsImageOverlay
,BoofCVDetectLinesImageOverlay
,ClassificationOverlay
,HighlightLocations
,MetaDataText
,MultiImageOverlay
,NullOverlay
,ObjectAnnotations
,ObjectCentersOverlayFromReport
,ObjectLocationsOverlayFromReport
,RectangleOverlay
,SimpleOverlay
,SimplePointOverlayFromReport
public interface ImageOverlay extends OptionHandler, CleanUpHandler
Interface for classes that put overlays over an image.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
imageChanged(ImagePanel.PaintPanel panel)
Notifies the overlay that the image has changed.void
overlayAdded(ImagePanel.PaintPanel panel)
Gets called when the image overlay got added to a paintable panel.void
overlayRemoved(ImagePanel.PaintPanel panel)
Gets called when the image overlay got removed from a paintable panel.void
paintOverlay(ImagePanel.PaintPanel panel, Graphics g)
Paints the overlay over the image.-
Methods inherited from interface adams.core.CleanUpHandler
cleanUp
-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
-
-
-
Method Detail
-
imageChanged
void imageChanged(ImagePanel.PaintPanel panel)
Notifies the overlay that the image has changed.- Parameters:
panel
- the panel this overlay belongs to
-
paintOverlay
void paintOverlay(ImagePanel.PaintPanel panel, Graphics g)
Paints the overlay over the image.- Parameters:
panel
- the panel this overlay is forg
- the graphics context
-
overlayAdded
void overlayAdded(ImagePanel.PaintPanel panel)
Gets called when the image overlay got added to a paintable panel.- Parameters:
panel
- the panel it got added to
-
overlayRemoved
void overlayRemoved(ImagePanel.PaintPanel panel)
Gets called when the image overlay got removed from a paintable panel.- Parameters:
panel
- the panel it got removed from
-
-