com.ontimize.util.gis.client.viewer
Class ParallelThreadGisViewer.InternalRenderer
java.lang.Object
com.ontimize.util.gis.client.viewer.ParallelThreadGisViewer.InternalRenderer
- All Implemented Interfaces:
- IGisInternalRenderer
- Enclosing class:
- ParallelThreadGisViewer
class ParallelThreadGisViewer.InternalRenderer
- extends java.lang.Object
- implements IGisInternalRenderer
|
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parentViewer
IGisViewer parentViewer
paintThread
java.lang.Thread paintThread
ParallelThreadGisViewer.InternalRenderer
public ParallelThreadGisViewer.InternalRenderer(IGisViewer parentViewer)
stopRenderThread
public void stopRenderThread()
- Description copied from interface:
IGisInternalRenderer
- Forces the rendering thread to stop
- Specified by:
stopRenderThread in interface IGisInternalRenderer
render
public void render(java.awt.image.BufferedImage image,
com.vividsolutions.jts.geom.Envelope bbox)
- Description copied from interface:
IGisInternalRenderer
- Internal method used by the Gis viewer panel internal rendering threads
- Specified by:
render in interface IGisInternalRenderer
- Parameters:
image - Image to paint onbbox - Area of the given image
isRendering
public boolean isRendering()
- Description copied from interface:
IGisInternalRenderer
- Check if the thread is actually rendering the map
- Specified by:
isRendering in interface IGisInternalRenderer
- Returns:
- Rendering process state
cancelActualRendering
public void cancelActualRendering()
- Description copied from interface:
IGisInternalRenderer
- Cancel the actual rendering process. This causes the rendering thread to stop
its actual rendering work and to throw away the renderer images.
- Specified by:
cancelActualRendering in interface IGisInternalRenderer