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