public abstract class GisFeatureRenderer extends java.lang.Object implements Renderer
Modifier and Type | Field and Description |
---|---|
protected 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 ProjectionImpl |
getDataProjection() |
protected abstract java.util.List |
getFeatures() |
abstract 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(ProjectionImpl project)
Tell the Renderer to use the given projection from now on.
|
protected ProjectionImpl displayProject
protected java.util.ArrayList shapeList
public abstract LatLonRect getPreferredArea()
getPreferredArea
in interface Renderer
protected abstract java.util.List getFeatures()
protected abstract ProjectionImpl getDataProjection()
public void setColor(java.awt.Color color)
Renderer
public void setProjection(ProjectionImpl project)
Renderer
setProjection
in interface Renderer
project
- 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)