Package org.esa.snap.ui
Class BoundaryOverlay
- java.lang.Object
-
- org.esa.snap.ui.BoundaryOverlay
-
- All Implemented Interfaces:
LayerCanvas.Overlay
- Direct Known Subclasses:
BoundaryOverlayImpl
public abstract class BoundaryOverlay extends Object implements LayerCanvas.Overlay
This class is an overlay that draws products from aWorldMapPaneDataModel
and lets client decide how to render the selected product.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BoundaryOverlay(WorldMapPaneDataModel dataModel)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
drawProduct(Graphics2D g2d, Product product, boolean isCurrent)
protected abstract void
handleSelectedProduct(Rendering rendering, Product selectedProduct)
void
paintOverlay(LayerCanvas canvas, Rendering rendering)
-
-
-
Constructor Detail
-
BoundaryOverlay
protected BoundaryOverlay(WorldMapPaneDataModel dataModel)
-
-
Method Detail
-
paintOverlay
public void paintOverlay(LayerCanvas canvas, Rendering rendering)
- Specified by:
paintOverlay
in interfaceLayerCanvas.Overlay
-
handleSelectedProduct
protected abstract void handleSelectedProduct(Rendering rendering, Product selectedProduct)
-
drawProduct
protected void drawProduct(Graphics2D g2d, Product product, boolean isCurrent)
-
-