|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.gis.GisFeatureRenderer
public abstract class GisFeatureRenderer
Superclass for rendering collections of GisFeatures.
| Field Summary | |
|---|---|
protected ucar.unidata.geoloc.ProjectionImpl |
displayProject
_more_ |
protected ArrayList |
shapeList
_more_ |
| Constructor Summary | |
|---|---|
GisFeatureRenderer()
|
|
| Method Summary | |
|---|---|
void |
draw(Graphics2D g,
AffineTransform pixelAT)
Draws all the features that are within the graphics clip rectangle, using the previously set displayProjection. |
Color |
getColor()
_more_ |
protected abstract ucar.unidata.geoloc.ProjectionImpl |
getDataProjection()
_more_ |
protected abstract List |
getFeatures()
_more_ |
abstract ucar.unidata.geoloc.LatLonRect |
getPreferredArea()
Preferred map area on opening for first time. |
protected Iterator |
getShapes(Graphics2D g,
AffineTransform normal2device)
_more_ |
void |
setColor(Color color)
_more_ |
void |
setProjection(ucar.unidata.geoloc.ProjectionImpl project)
_more_ |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ucar.unidata.geoloc.ProjectionImpl displayProject
protected ArrayList shapeList
| Constructor Detail |
|---|
public GisFeatureRenderer()
| Method Detail |
|---|
public abstract ucar.unidata.geoloc.LatLonRect getPreferredArea()
getPreferredArea in interface Rendererprotected abstract List getFeatures()
protected abstract ucar.unidata.geoloc.ProjectionImpl getDataProjection()
public Color getColor()
getColor in interface Rendererpublic void setColor(Color color)
setColor in interface Renderercolor - public void setProjection(ucar.unidata.geoloc.ProjectionImpl project)
setProjection in interface Rendererproject -
public void draw(Graphics2D g,
AffineTransform pixelAT)
draw in interface Rendererg - the Graphics2D context on which to drawpixelAT - transforms "Normalized Device" to Device coordinatesfor an example using pixelAT.
protected Iterator getShapes(Graphics2D g,
AffineTransform normal2device)
g - normal2device -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||