public class ContourFeatureRenderer extends GisFeatureRenderer
displayProject, shapeList| Constructor and Description |
|---|
ContourFeatureRenderer(ContourGrid conGrid,
ProjectionImpl dataProjection)
cstr
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(java.awt.Graphics2D g,
java.awt.geom.AffineTransform deviceFromNormalAT)
Overrides the GisFeatureRenderer draw() method, to draw contours
and with contour labels.
|
protected ProjectionImpl |
getDataProjection() |
protected java.util.List |
getFeatures() |
LatLonRect |
getPreferredArea()
Preferred map area on opening for first time.
|
void |
setShowLabels(boolean showlabels)
set switch whether contours labels are desired.
|
getColor, getShapes, setColor, setProjectionpublic ContourFeatureRenderer(ContourGrid conGrid, ProjectionImpl dataProjection)
public void setShowLabels(boolean showlabels)
public LatLonRect getPreferredArea()
GisFeatureRenderergetPreferredArea in interface RenderergetPreferredArea in class GisFeatureRendererprotected java.util.List getFeatures()
getFeatures in class GisFeatureRendererprotected ProjectionImpl getDataProjection()
getDataProjection in class GisFeatureRendererpublic void draw(java.awt.Graphics2D g,
java.awt.geom.AffineTransform deviceFromNormalAT)
draw in interface Rendererdraw in class GisFeatureRendererg - the Graphics2D context on which to drawdeviceFromNormalAT - transforms "Normalized Device" to Device coordinates