Class WMSLayerRenderer
- java.lang.Object
-
- com.vividsolutions.jump.workbench.ui.renderer.ImageCachingRenderer
-
- com.vividsolutions.jump.workbench.ui.renderer.WMSLayerRenderer
-
- All Implemented Interfaces:
Renderer
public class WMSLayerRenderer extends ImageCachingRenderer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.vividsolutions.jump.workbench.ui.renderer.Renderer
Renderer.ContentDependendFactory, Renderer.Factory
-
-
Field Summary
-
Fields inherited from class com.vividsolutions.jump.workbench.ui.renderer.ImageCachingRenderer
cancelled, image, panel, rendering
-
-
Constructor Summary
Constructors Constructor Description WMSLayerRenderer(WMSLayer layer, LayerViewPanel panel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copyTo(Graphics2D graphics)
Runnable
createRunnable()
ThreadSafeImage
getImage()
protected void
renderHook(ThreadSafeImage image)
-
Methods inherited from class com.vividsolutions.jump.workbench.ui.renderer.ImageCachingRenderer
cancel, clearImageCache, getContentID, isRendering
-
-
-
-
Constructor Detail
-
WMSLayerRenderer
public WMSLayerRenderer(WMSLayer layer, LayerViewPanel panel)
-
-
Method Detail
-
getImage
public ThreadSafeImage getImage()
- Overrides:
getImage
in classImageCachingRenderer
-
createRunnable
public Runnable createRunnable()
- Specified by:
createRunnable
in interfaceRenderer
- Overrides:
createRunnable
in classImageCachingRenderer
- Returns:
- null if no rendering work needs to be done
-
copyTo
public void copyTo(Graphics2D graphics)
- Specified by:
copyTo
in interfaceRenderer
- Overrides:
copyTo
in classImageCachingRenderer
-
renderHook
protected void renderHook(ThreadSafeImage image) throws Exception
- Specified by:
renderHook
in classImageCachingRenderer
- Throws:
Exception
-
-