public class BubbleVisualization.Instance extends AbstractScatterplotVisualization implements DataStoreListener
Modifier and Type | Field and Description |
---|---|
protected OutlierResult |
result
The outlier result to visualize
|
proj, rel, sample
context, layer, pendingRedraw, svgp, task
Constructor and Description |
---|
BubbleVisualization.Instance(VisualizationTask task)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the visualization.
|
protected double |
getScaledForId(DBIDRef id)
Convenience method to apply scalings in the right order.
|
void |
redraw()
Perform a full redraw.
|
void |
resultChanged(Result current)
Notify that the current result has changed substantially.
|
private void |
setupCSS(SVGPlot svgp,
ClassStylingPolicy policy)
Registers the Bubble-CSS-Class at a SVGPlot.
|
setupCanvas
contentChanged, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedraw
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentChanged
protected OutlierResult result
public BubbleVisualization.Instance(VisualizationTask task)
task
- Visualization taskpublic void destroy()
Visualization
destroy
in interface Visualization
destroy
in class AbstractVisualization
public void redraw()
AbstractVisualization
redraw
in class AbstractVisualization
public void resultChanged(Result current)
ResultListener
resultChanged
in interface ResultListener
resultChanged
in class AbstractScatterplotVisualization
current
- Result that has changed.private void setupCSS(SVGPlot svgp, ClassStylingPolicy policy)
svgp
- the SVGPlot to register the Tooltip-CSS-Class.policy
- Clustering to useprotected double getScaledForId(DBIDRef id)
id
- object ID to get scaled score for