
NV - Type of the NumberVector being visualized.public class SelectionConvexHullVisualization<NV extends NumberVector<NV,?>> extends P2DVisualization<NV> implements ContextChangeListener, DataStoreListener
| Modifier and Type | Class and Description |
|---|---|
static class |
SelectionConvexHullVisualization.Factory<NV extends NumberVector<NV,?>>
Factory for visualizers to generate an SVG-Element containing the convex
hull of the selected points
|
| Modifier and Type | Field and Description |
|---|---|
private static String |
NAME
A short name characterizing this Visualizer.
|
static String |
SELECTEDHULL
Generic tag to indicate the type of element.
|
proj, relcontext, layer, pendingRedraw, svgp, task| Constructor and Description |
|---|
SelectionConvexHullVisualization(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.
|
setupCanvascontextChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, synchronizedRedraw, testRedrawclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontextChangedprivate static final String NAME
public static final String SELECTEDHULL
public SelectionConvexHullVisualization(VisualizationTask task)
task - Taskprotected void redraw()
AbstractVisualizationredraw in class AbstractVisualizationprivate void addCSSClasses(SVGPlot svgp)
svgp - SVG-Plotpublic void contentChanged(DataStoreEvent e)
DataStoreListenercontentChanged in interface DataStoreListenere - the update event