public abstract class PointFeatureSource extends AbstractFeatureSource
PointFeatureSource
class supplied and renders
PointFeature
data with user-supplied plot symbols.area, featureList
Constructor and Description |
---|
PointFeatureSource() |
Modifier and Type | Method and Description |
---|---|
void |
render(java.awt.Graphics2D g,
EarthImageTransform trans,
PointFeatureSymbol symbol)
Renders the selected point feature data to a graphics context.
|
void |
render(java.awt.Graphics2D g,
EarthImageTransform trans,
PointFeatureSymbol symbol,
java.util.Map<java.awt.Rectangle,PointFeature> rectToFeatureMap)
Renders the selected point feature data to a graphics context.
|
getArea, getAttributeCount, getAttributeNameMap, getAttributes, getFilter, iterator, select, select, setAttributes, setFilter
public void render(java.awt.Graphics2D g, EarthImageTransform trans, PointFeatureSymbol symbol)
g
- the graphics context for drawing.trans
- the earth image transform for converting Earth
locations to image points.symbol
- the symbol to use for rendering each point feature.public void render(java.awt.Graphics2D g, EarthImageTransform trans, PointFeatureSymbol symbol, java.util.Map<java.awt.Rectangle,PointFeature> rectToFeatureMap)
g
- the graphics context for drawing.trans
- the earth image transform for converting Earth
locations to image points.symbol
- the symbol to use for rendering each point feature.rectToFeatureMap
- the map of rectangle to point feature for the
rendering operation, or null to not save this information. This map
can later be used to easily recall what point features were drawn where.