com.ontimize.util.gis.client.interfaces
Interface IGisInternalRenderer

All Known Implementing Classes:
GridRasterBaseGisViewer.InternalRenderer, ParallelThreadEditionGisViewer.InternalEditionRenderer, ParallelThreadGisViewer.InternalRenderer, ParallelThreadSelectorGisViewer.InternalSelectorRenderer

public interface IGisInternalRenderer

Interface implemented by the GIS map viewer internal renderer classes


Method Summary
 void cancelActualRendering()
          Cancel the actual rendering process.
 boolean isRendering()
          Check if the thread is actually rendering the map
 void render(java.awt.image.BufferedImage image, com.vividsolutions.jts.geom.Envelope bbox)
          Internal method used by the Gis viewer panel internal rendering threads
 void stopRenderThread()
          Forces the rendering thread to stop
 

Method Detail

render

void render(java.awt.image.BufferedImage image,
            com.vividsolutions.jts.geom.Envelope bbox)
Internal method used by the Gis viewer panel internal rendering threads

Parameters:
image - Image to paint on
bbox - Area of the given image

isRendering

boolean isRendering()
Check if the thread is actually rendering the map

Returns:
Rendering process state

cancelActualRendering

void cancelActualRendering()
Cancel the actual rendering process. This causes the rendering thread to stop its actual rendering work and to throw away the renderer images.


stopRenderThread

void stopRenderThread()
Forces the rendering thread to stop