NV
- Type of the NumberVector being visualized.public class SelectionDotVisualization<NV extends NumberVector<NV,?>> extends P2DVisualization<NV> implements ContextChangeListener, DataStoreListener
Modifier and Type | Class and Description |
---|---|
static class |
SelectionDotVisualization.Factory<NV extends NumberVector<NV,?>>
Factory for visualizers to generate an SVG-Element containing dots as
markers representing the selected Database's objects.
|
Modifier and Type | Field and Description |
---|---|
static String |
MARKER
Generic tag to indicate the type of element.
|
private static String |
NAME
A short name characterizing this Visualizer.
|
proj, rel
context, layer, pendingRedraw, svgp, task
Constructor and Description |
---|
SelectionDotVisualization(VisualizationTask task)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private void |
addCSSClasses(SVGPlot svgp)
Adds the required CSS-Classes
|
void |
contentChanged(DataStoreEvent e)
Invoked after objects of the datastore have been updated, inserted or
removed in some way.
|
protected void |
redraw()
Perform a full redraw.
|
setupCanvas
contextChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, synchronizedRedraw, testRedraw
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contextChanged
private static final String NAME
public static final String MARKER
public SelectionDotVisualization(VisualizationTask task)
task
- Taskprotected void redraw()
AbstractVisualization
redraw
in class AbstractVisualization
private void addCSSClasses(SVGPlot svgp)
svgp
- SVG-Plotpublic void contentChanged(DataStoreEvent e)
DataStoreListener
contentChanged
in interface DataStoreListener
e
- the update event