public abstract class GisFeatureRenderer extends Object implements Renderer
| Modifier and Type | Field and Description |
|---|---|
protected ucar.unidata.geoloc.ProjectionImpl |
displayProject |
protected ArrayList |
shapeList |
| Constructor and Description |
|---|
GisFeatureRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics2D g,
AffineTransform pixelAT)
Draws all the features that are within the graphics clip rectangle,
using the previously set displayProjection.
|
Color |
getColor() |
protected abstract ucar.unidata.geoloc.ProjectionImpl |
getDataProjection() |
protected abstract List |
getFeatures() |
abstract ucar.unidata.geoloc.LatLonRect |
getPreferredArea()
Preferred map area on opening for first time.
|
protected Iterator |
getShapes(Graphics2D g,
AffineTransform normal2device) |
void |
setColor(Color color)
Tell the Renderer to use the given color.
|
void |
setProjection(ucar.unidata.geoloc.ProjectionImpl project)
Tell the Renderer to use the given projection from now on.
|
protected ucar.unidata.geoloc.ProjectionImpl displayProject
protected ArrayList shapeList
public abstract ucar.unidata.geoloc.LatLonRect getPreferredArea()
getPreferredArea in interface Rendererprotected abstract List getFeatures()
protected abstract ucar.unidata.geoloc.ProjectionImpl getDataProjection()
public void setColor(Color color)
Rendererpublic void setProjection(ucar.unidata.geoloc.ProjectionImpl project)
RenderersetProjection in interface Rendererproject - the projection to use.public void draw(Graphics2D g, AffineTransform pixelAT)
protected Iterator getShapes(Graphics2D g, AffineTransform normal2device)