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 TypeMethodDescriptionvoid
draw
(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.LatLonRect
Preferred map area on opening for first time.protected Iterator
getShapes
(Graphics2D g, AffineTransform normal2device) _more_void
_more_void
setProjection
(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:
getPreferredArea
in 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:
setProjection
in 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_
-