public abstract class FeatureCollectionRenderer extends java.lang.Object implements Renderer
Renderer.ContentDependendFactory, Renderer.Factory
Constructor and Description |
---|
FeatureCollectionRenderer(java.lang.Object contentID,
LayerViewPanel panel) |
FeatureCollectionRenderer(java.lang.Object contentID,
LayerViewPanel panel,
ImageCachingFeatureCollectionRenderer imageCachingFeatureCollectionRenderer) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
clearImageCache() |
void |
copyTo(java.awt.Graphics2D graphics) |
java.lang.Runnable |
createRunnable() |
java.lang.Object |
getContentID() |
int |
getMaxFeatures() |
SimpleFeatureCollectionRenderer |
getSimpleFeatureCollectionRenderer() |
boolean |
isRendering() |
protected abstract java.util.Map |
layerToFeaturesMap() |
void |
setMaxFeatures(int maxFeatures) |
protected abstract java.util.Collection |
styles() |
protected boolean |
useImageCaching(java.util.Map layerToFeaturesMap) |
public FeatureCollectionRenderer(java.lang.Object contentID, LayerViewPanel panel)
public FeatureCollectionRenderer(java.lang.Object contentID, LayerViewPanel panel, ImageCachingFeatureCollectionRenderer imageCachingFeatureCollectionRenderer)
public void clearImageCache()
clearImageCache
in interface Renderer
public boolean isRendering()
isRendering
in interface Renderer
public java.lang.Object getContentID()
getContentID
in interface Renderer
public java.lang.Runnable createRunnable()
createRunnable
in interface Renderer
protected boolean useImageCaching(java.util.Map layerToFeaturesMap)
protected abstract java.util.Map layerToFeaturesMap()
protected abstract java.util.Collection styles()
public int getMaxFeatures()
public void setMaxFeatures(int maxFeatures)
maxFeatures
- The maximum number of Features to render
as vector graphic.public SimpleFeatureCollectionRenderer getSimpleFeatureCollectionRenderer()