|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectRenderingTask
public class RenderingTask
A rendering task to be run by a RenderingExecutor
.
Constructor Summary | |
---|---|
RenderingTask(MapContent mapContent,
Graphics2D destinationGraphics,
GTRenderer renderer)
Creates a new rendering task. |
Method Summary | |
---|---|
Boolean |
call()
Called by the executor to run this rendering task. |
void |
cancel()
|
void |
errorOccurred(Exception e)
Called by the renderer on error |
void |
featureRenderer(SimpleFeature feature)
Called by the renderer when each feature is drawn. |
boolean |
isCancelled()
|
boolean |
isFailed()
|
boolean |
isRunning()
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RenderingTask(MapContent mapContent, Graphics2D destinationGraphics, GTRenderer renderer)
mapContent
- renderer
- graphics
- Method Detail |
---|
public void cancel()
public Boolean call() throws Exception
call
in interface Callable<Boolean>
Exception
public void featureRenderer(SimpleFeature feature)
featureRenderer
in interface RenderListener
feature
- the feature just drawnpublic void errorOccurred(Exception e)
errorOccurred
in interface RenderListener
e
- cause of the errorpublic boolean isRunning()
public boolean isFailed()
public boolean isCancelled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |