public class TooltipStringVisualization.Instance extends AbstractTooltipVisualization
Modifier and Type | Field and Description |
---|---|
private double |
fontsize
Font size to use.
|
private Relation<?> |
result
Number value to visualize
|
hoverer, TOOLTIP_AREA, TOOLTIP_HIDDEN, TOOLTIP_STICKY, TOOLTIP_VISIBLE
proj, rel, sample
context, layer, svgp, task
Constructor and Description |
---|
TooltipStringVisualization.Instance(VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Element |
makeTooltip(DBIDRef id,
double x,
double y,
double dotsize)
Make a tooltip Element for this id.
|
protected void |
setupCSS(SVGPlot svgp)
Registers the Tooltip-CSS-Class at a SVGPlot.
|
fullRedraw, handleHoverEvent, toggleTooltip
setupCanvas, setupCanvas, visualizationChanged
addListeners, contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentChanged
private Relation<?> result
private double fontsize
public TooltipStringVisualization.Instance(VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
task
- Taskprotected Element makeTooltip(DBIDRef id, double x, double y, double dotsize)
AbstractTooltipVisualization
makeTooltip
in class AbstractTooltipVisualization
id
- Id to make a tooltip forx
- X positiony
- Y positiondotsize
- Size of a dotprotected void setupCSS(SVGPlot svgp)
setupCSS
in class AbstractTooltipVisualization
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.