public abstract class SimpleRenderer extends java.lang.Object implements Renderer
Renderer.ContentDependendFactory, Renderer.Factory
Modifier and Type | Field and Description |
---|---|
protected boolean |
cancelled |
protected LayerViewPanel |
panel |
Constructor and Description |
---|
SimpleRenderer(java.lang.Object contentID,
LayerViewPanel panel) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
clearImageCache() |
void |
copyTo(java.awt.Graphics2D graphics) |
java.lang.Runnable |
createRunnable() |
java.lang.Object |
getContentID() |
boolean |
isRendering() |
protected abstract void |
paint(java.awt.Graphics2D g) |
protected volatile boolean cancelled
protected LayerViewPanel panel
public SimpleRenderer(java.lang.Object contentID, LayerViewPanel panel)
protected abstract void paint(java.awt.Graphics2D g) throws java.lang.Exception
java.lang.Exception
public void clearImageCache()
clearImageCache
in interface Renderer
public boolean isRendering()
isRendering
in interface Renderer
public java.lang.Object getContentID()
getContentID
in interface Renderer
public java.lang.Runnable createRunnable()
createRunnable
in interface Renderer