
NV - Type of the DatabaseObject being visualized.public class ClusteringVisualization<NV extends NumberVector<NV,?>> extends P2DVisualization<NV> implements DataStoreListener
| Modifier and Type | Class and Description |
|---|---|
static class |
ClusteringVisualization.Factory<NV extends NumberVector<NV,?>>
Visualization factory
|
| Modifier and Type | Field and Description |
|---|---|
private Clustering<Model> |
clustering
The result we visualize
|
proj, relcontext, layer, pendingRedraw, svgp, task| Constructor and Description |
|---|
ClusteringVisualization(VisualizationTask task)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
contentChanged(DataStoreEvent e)
Invoked after objects of the datastore have been updated, inserted or
removed in some way.
|
void |
destroy()
Destroy the visualization.
|
void |
redraw()
Perform a full redraw.
|
setupCanvascontextChanged, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, synchronizedRedraw, testRedrawprivate Clustering<Model> clustering
public ClusteringVisualization(VisualizationTask task)
task - Visualization taskpublic void destroy()
Visualizationdestroy in interface Visualizationdestroy in class AbstractVisualizationpublic void redraw()
AbstractVisualizationredraw in class AbstractVisualizationpublic void contentChanged(DataStoreEvent e)
DataStoreListenercontentChanged in interface DataStoreListenere - the update event