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, size
context, 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, setupCanvas
contentChanged, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedraw
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentChanged
public static final String DATALINE
private SamplingResult sample
public LineVisualization.Instance(VisualizationTask task)
task
- VisualizationTaskpublic void destroy()
Visualization
destroy
in interface Visualization
destroy
in class AbstractVisualization
public void resultChanged(Result current)
ResultListener
resultChanged
in interface ResultListener
resultChanged
in class AbstractParallelVisualization<NumberVector<?>>
current
- Result that has changed.protected void redraw()
AbstractVisualization
redraw
in class AbstractVisualization
private Element drawLine(DBIDRef iter)
iter
- Object referenceprivate void addCSSClasses(SVGPlot svgp, StylingPolicy sp)
svgp
- SVG-Plot