Package ucar.unidata.gis
Class GisFeatureRenderer
java.lang.Object
ucar.unidata.gis.GisFeatureRenderer
- All Implemented Interfaces:
Renderer
- Direct Known Subclasses:
GisFeatureRendererMulti,McidasMap,WorldMap
Superclass for rendering collections of GisFeatures.
- Version:
- $Id: GisFeatureRenderer.java,v 1.16 2005/05/13 18:29:33 jeffmc Exp $
- Author:
- John Caron
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ucar.unidata.geoloc.ProjectionImpl_more_protected ArrayList_more_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(Graphics2D g, AffineTransform pixelAT) Draws all the features that are within the graphics clip rectangle, using the previously set displayProjection.getColor()_more_protected abstract ucar.unidata.geoloc.ProjectionImpl_more_protected abstract List_more_abstract ucar.unidata.geoloc.LatLonRectPreferred map area on opening for first time.protected IteratorgetShapes(Graphics2D g, AffineTransform normal2device) _more_void_more_voidsetProjection(ucar.unidata.geoloc.ProjectionImpl project) _more_
-
Field Details
-
displayProject
protected ucar.unidata.geoloc.ProjectionImpl displayProject_more_ -
shapeList
_more_
-
-
Constructor Details
-
GisFeatureRenderer
public GisFeatureRenderer()
-
-
Method Details
-
getPreferredArea
public abstract ucar.unidata.geoloc.LatLonRect getPreferredArea()Preferred map area on opening for first time.- Specified by:
getPreferredAreain interfaceRenderer- Returns:
- lat/lon bounding box that specifies preferred area.
-
getFeatures
_more_- Returns:
- _more_
-
getDataProjection
protected abstract ucar.unidata.geoloc.ProjectionImpl getDataProjection()_more_- Returns:
- _more_
-
getColor
_more_ -
setColor
_more_ -
setProjection
public void setProjection(ucar.unidata.geoloc.ProjectionImpl project) _more_- Specified by:
setProjectionin interfaceRenderer- Parameters:
project-
-
draw
Draws all the features that are within the graphics clip rectangle, using the previously set displayProjection. -
getShapes
_more_- Parameters:
g-normal2device-- Returns:
- _more_
-