public class DendrogramVisualization.Instance extends AbstractVisualization
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
KEY_CAPTION
CSS class for key captions.
|
private static java.lang.String |
KEY_HIERLINE
CSS class for hierarchy plot lines
|
context, layer, svgp, task
Constructor and Description |
---|
Instance(VisualizerContext context,
VisualizationTask task,
VisualizationPlot plot,
double width,
double height)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
fullRedraw()
Request a full redrawing of the visualization.
|
protected void |
setupCSS(SVGPlot svgp,
ClassStylingPolicy cspol,
double linew)
Register the CSS classes.
|
protected void |
setupCSS(SVGPlot svgp,
double linew)
Register the CSS classes.
|
addListeners, contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, visualizationChanged
private static final java.lang.String KEY_CAPTION
private static final java.lang.String KEY_HIERLINE
public Instance(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height)
context
- Visualizer contexttask
- Visualization taskplot
- Plot to draw towidth
- Embedding widthheight
- Embedding heightpublic void fullRedraw()
Visualization
fullRedraw
in interface Visualization
fullRedraw
in class AbstractVisualization
protected void setupCSS(SVGPlot svgp, double linew)
svgp
- the SVGPlot to register the CSS classes.linew
- Line width adjustmentprotected void setupCSS(SVGPlot svgp, ClassStylingPolicy cspol, double linew)
svgp
- the SVGPlot to register the CSS classes.cspol
- Class styling policylinew
- Line width adjustmentCopyright © 2019 ELKI Development Team. License information.