public abstract class GisFeatureRenderer extends java.lang.Object implements Renderer
Modifier and Type | Field and Description |
---|---|
protected ucar.unidata.geoloc.ProjectionImpl |
displayProject
_more_
|
protected java.util.ArrayList |
shapeList
_more_
|
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()
_more_
|
protected abstract ucar.unidata.geoloc.ProjectionImpl |
getDataProjection()
_more_
|
protected abstract java.util.List |
getFeatures()
_more_
|
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)
_more_
|
void |
setColor(java.awt.Color color)
_more_
|
void |
setProjection(ucar.unidata.geoloc.ProjectionImpl project)
_more_
|
protected ucar.unidata.geoloc.ProjectionImpl displayProject
protected java.util.ArrayList shapeList
public abstract ucar.unidata.geoloc.LatLonRect getPreferredArea()
getPreferredArea
in interface Renderer
protected abstract java.util.List getFeatures()
protected abstract ucar.unidata.geoloc.ProjectionImpl getDataProjection()
public java.awt.Color getColor()
public void setColor(java.awt.Color color)
public void setProjection(ucar.unidata.geoloc.ProjectionImpl project)
setProjection
in interface Renderer
project
- public void draw(java.awt.Graphics2D g, java.awt.geom.AffineTransform pixelAT)
draw
in interface Renderer
g
- the Graphics2D context on which to drawpixelAT
- transforms "Normalized Device" to Device coordinatesfor an example using pixelAT.
protected java.util.Iterator getShapes(java.awt.Graphics2D g, java.awt.geom.AffineTransform normal2device)
g
- normal2device
-