public abstract class GisFeatureRenderer extends Object implements Renderer
| Modifier and Type | Field and Description |
|---|---|
protected 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 ProjectionImpl |
getDataProjection() |
protected abstract List |
getFeatures() |
abstract 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(ProjectionImpl project)
Tell the Renderer to use the given projection from now on.
|
protected ProjectionImpl displayProject
protected ArrayList shapeList
public abstract LatLonRect getPreferredArea()
getPreferredArea in interface Rendererprotected abstract List getFeatures()
protected abstract ProjectionImpl getDataProjection()
public void setColor(Color color)
Rendererpublic void setProjection(ProjectionImpl project)
RenderersetProjection in interface Rendererproject - the projection to use.public void draw(Graphics2D g, AffineTransform pixelAT)
protected Iterator getShapes(Graphics2D g, AffineTransform normal2device)
Copyright © 1999–2013 UCAR/Unidata. All rights reserved.