Class FeatureCollectionRenderer
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.ui.renderer.FeatureCollectionRenderer
-
- All Implemented Interfaces:
Renderer
- Direct Known Subclasses:
AbstractSelectionRenderer
,LayerRenderer
public abstract class FeatureCollectionRenderer extends Object implements Renderer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.locationtech.jts.jump.workbench.ui.renderer.Renderer
Renderer.Factory
-
-
Constructor Summary
Constructors Constructor Description FeatureCollectionRenderer(Object contentID, LayerViewPanel panel)
FeatureCollectionRenderer(Object contentID, LayerViewPanel panel, ImageCachingFeatureCollectionRenderer imageCachingFeatureCollectionRenderer)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
cancel()
void
clearImageCache()
void
copyTo(Graphics2D graphics)
Runnable
createRunnable()
Object
getContentID()
boolean
isRendering()
protected abstract Map
layerToFeaturesMap()
protected abstract Collection
styles()
-
-
-
Constructor Detail
-
FeatureCollectionRenderer
public FeatureCollectionRenderer(Object contentID, LayerViewPanel panel)
-
FeatureCollectionRenderer
public FeatureCollectionRenderer(Object contentID, LayerViewPanel panel, ImageCachingFeatureCollectionRenderer imageCachingFeatureCollectionRenderer)
-
-
Method Detail
-
clearImageCache
public void clearImageCache()
- Specified by:
clearImageCache
in interfaceRenderer
-
isRendering
public boolean isRendering()
- Specified by:
isRendering
in interfaceRenderer
-
getContentID
public Object getContentID()
- Specified by:
getContentID
in interfaceRenderer
-
copyTo
public void copyTo(Graphics2D graphics)
-
createRunnable
public Runnable createRunnable()
- Specified by:
createRunnable
in interfaceRenderer
- Returns:
- null if no rendering work needs to be done
-
layerToFeaturesMap
protected abstract Map layerToFeaturesMap()
-
styles
protected abstract Collection styles()
-
-