public class KeyVisualization.Instance extends AbstractVisualization
Modifier and Type | Field and Description |
---|---|
private static String |
KEY_CAPTION
CSS class for key captions.
|
private static String |
KEY_ENTRY
CSS class for key entries.
|
private static String |
KEY_HIERLINE
CSS class for hierarchy plot lines
|
context, layer, svgp, task
Constructor and Description |
---|
KeyVisualization.Instance(VisualizationTask task,
VisualizationPlot plot,
double width,
double height)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private double |
drawHierarchy(SVGPlot svgp,
MarkerLibrary ml,
DoubleDoublePair size,
DoubleDoublePair pos,
int depth,
Cluster<Model> cluster,
TObjectIntMap<Cluster<Model>> cnum,
Hierarchy<Cluster<Model>> hier) |
void |
fullRedraw()
Request a full redrawing of the visualization.
|
protected void |
setupCSS(SVGPlot svgp)
Registers the Tooltip-CSS-Class at a SVGPlot.
|
addListeners, contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, visualizationChanged
private static final String KEY_CAPTION
private static final String KEY_ENTRY
private static final String KEY_HIERLINE
public KeyVisualization.Instance(VisualizationTask task, VisualizationPlot plot, double width, double height)
task
- Visualization taskplot
- Plot to draw towidth
- Embedding widthheight
- Embedding heightpublic void fullRedraw()
Visualization
fullRedraw
in interface Visualization
fullRedraw
in class AbstractVisualization
private double drawHierarchy(SVGPlot svgp, MarkerLibrary ml, DoubleDoublePair size, DoubleDoublePair pos, int depth, Cluster<Model> cluster, TObjectIntMap<Cluster<Model>> cnum, Hierarchy<Cluster<Model>> hier)
protected void setupCSS(SVGPlot svgp)
svgp
- the SVGPlot to register the Tooltip-CSS-Class.Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.