Interface Renderer
-
- All Known Implementing Classes:
AbstractSelectionRenderer
,FeatureCollectionRenderer
,FeatureSelectionRenderer
,GridRenderer
,ImageCachingFeatureCollectionRenderer
,ImageCachingRenderer
,LayerRenderer
,LineStringSelectionRenderer
,PartSelectionRenderer
,ScaleBarRenderer
,SelectionBackgroundRenderer
,SimpleFeatureCollectionRenderer
,SimpleRenderer
,WMSLayerRenderer
public interface Renderer
First call #createRunnable. If it returns null, get the image using #copyTo. Otherwise, run the Runnable in a separate thread. You can call #copyTo while it's drawing to get the partially drawn image. Drawing is done when #isRendering returns false.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Renderer.Factory
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancel()
void
clearImageCache()
void
copyTo(Graphics2D graphics)
Runnable
createRunnable()
Object
getContentID()
boolean
isRendering()
-
-
-
Method Detail
-
clearImageCache
void clearImageCache()
-
isRendering
boolean isRendering()
-
getContentID
Object getContentID()
- Parameters:
contentID
- identifies this Renderer by what it draws
-
copyTo
void copyTo(Graphics2D graphics)
-
createRunnable
Runnable createRunnable()
- Returns:
- null if no rendering work needs to be done
-
cancel
void cancel()
-
-