public class PolygonVisualization extends AbstractScatterplotVisualization implements DataStoreListener
Modifier and Type | Class and Description |
---|---|
static class |
PolygonVisualization.Factory
The visualization factory
|
Modifier and Type | Field and Description |
---|---|
private static String |
NAME
A short name characterizing this Visualizer.
|
static String |
POLYS
Generic tag to indicate the type of element.
|
protected Projection2D |
proj
The current projection
|
protected Relation<PolygonsObject> |
rep
The representation we visualize
|
rel, sample
context, layer, pendingRedraw, svgp, task
Constructor and Description |
---|
PolygonVisualization(VisualizationTask task)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the visualization.
|
void |
redraw()
Perform a full redraw.
|
resultChanged, setupCanvas
contentChanged, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedraw
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentChanged
private static final String NAME
public static final String POLYS
protected final Projection2D proj
protected final Relation<PolygonsObject> rep
public PolygonVisualization(VisualizationTask task)
task
- Task to visualizepublic void destroy()
Visualization
destroy
in interface Visualization
destroy
in class AbstractVisualization
public void redraw()
AbstractVisualization
redraw
in class AbstractVisualization