
public class TooltipStringVisualization.Instance extends AbstractTooltipVisualization
| Modifier and Type | Field and Description | 
|---|---|
| private double | fontsizeFont size to use. | 
| private Relation<?> | resultNumber value to visualize | 
hoverer, TOOLTIP_AREA, TOOLTIP_HIDDEN, TOOLTIP_STICKY, TOOLTIP_VISIBLEproj, rel, samplecontext, layer, pendingRedraw, svgp, task| Constructor and Description | 
|---|
| TooltipStringVisualization.Instance(VisualizationTask task)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. | 
handleHoverEvent, redraw, resultChanged, toggleTooltipsetupCanvascontentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedrawclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontentChangedprivate Relation<?> result
private double fontsize
public TooltipStringVisualization.Instance(VisualizationTask task)
task - Taskprotected 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.