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_VISIBLEproj, rel, samplecontext, layer, svgp, task| Constructor and Description | 
|---|
Instance(VisualizerContext context,
        VisualizationTask task,
        VisualizationPlot plot,
        double width,
        double height,
        Projection proj)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected org.w3c.dom.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, toggleTooltipsetupCanvas, setupCanvas, visualizationChangedaddListeners, contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemovedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontentChangedprivate Relation<?> result
private double fontsize
public Instance(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
context - Visualizer contexttask - Taskplot - Plotwidth - Widthheight - Heightproj - Projectionprotected org.w3c.dom.Element makeTooltip(DBIDRef id, double x, double y, double dotsize)
AbstractTooltipVisualizationmakeTooltip in class AbstractTooltipVisualizationid - Id to make a tooltip forx - X positiony - Y positiondotsize - Size of a dotprotected void setupCSS(SVGPlot svgp)
setupCSS in class AbstractTooltipVisualizationsvgp - the SVGPlot to register the Tooltip-CSS-Class.Copyright © 2019 ELKI Development Team. License information.