com.vividsolutions.jump.workbench.ui.renderer
Interface Renderer
- All Known Implementing Classes:
- FeatureCollectionRenderer, ImageCachingRenderer, SimpleRenderer
- 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.
clearImageCache
public void clearImageCache()
isRendering
public boolean isRendering()
getContentID
public java.lang.Object getContentID()
copyTo
public void copyTo(java.awt.Graphics2D graphics)
createRunnable
public java.lang.Runnable createRunnable()
- Returns:
- null if no rendering work needs to be done
cancel
public void cancel()