
public class LineVisualization.Instance extends AbstractParallelVisualization<NumberVector<?>> implements DataStoreListener
| Modifier and Type | Field and Description |
|---|---|
static String |
DATALINE
Generic tags to indicate the type of element.
|
private SamplingResult |
sample
Sample we visualize.
|
axsep, margins, proj, relation, sizecontext, layer, pendingRedraw, svgp, task| Constructor and Description |
|---|
LineVisualization.Instance(VisualizationTask task)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
addCSSClasses(SVGPlot svgp,
StylingPolicy sp)
Adds the required CSS-Classes
|
void |
destroy()
Destroy the visualization.
|
private Element |
drawLine(DBIDRef iter)
Draw a single line.
|
protected void |
redraw()
Perform a full redraw.
|
void |
resultChanged(Result current)
Notify that the current result has changed substantially.
|
getAxisSep, getMarginLeft, getMarginTop, getSizeX, getSizeY, getVisibleAxisX, setupCanvascontentChanged, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedrawclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontentChangedpublic static final String DATALINE
private SamplingResult sample
public LineVisualization.Instance(VisualizationTask task)
task - VisualizationTaskpublic void destroy()
Visualizationdestroy in interface Visualizationdestroy in class AbstractVisualizationpublic void resultChanged(Result current)
ResultListenerresultChanged in interface ResultListenerresultChanged in class AbstractParallelVisualization<NumberVector<?>>current - Result that has changed.protected void redraw()
AbstractVisualizationredraw in class AbstractVisualizationprivate Element drawLine(DBIDRef iter)
iter - Object referenceprivate void addCSSClasses(SVGPlot svgp, StylingPolicy sp)
svgp - SVG-Plot