NV
- Data type visualized.public class TooltipStringVisualization<NV extends NumberVector<NV,?>> extends AbstractTooltipVisualization<NV>
Modifier and Type | Class and Description |
---|---|
static class |
TooltipStringVisualization.Factory<NV extends NumberVector<NV,?>>
Factory
|
Modifier and Type | Field and Description |
---|---|
private double |
fontsize
Font size to use.
|
static String |
NAME_CLASS
A short name characterizing this Visualizer.
|
static String |
NAME_EID
A short name characterizing this Visualizer.
|
static String |
NAME_ID
A short name characterizing this Visualizer.
|
static String |
NAME_LABEL
A short name characterizing this Visualizer.
|
private Relation<?> |
result
Number value to visualize
|
TOOLTIP_AREA, TOOLTIP_HIDDEN, TOOLTIP_STICKY, TOOLTIP_VISIBLE
proj, rel
context, layer, pendingRedraw, svgp, task
Constructor and Description |
---|
TooltipStringVisualization(VisualizationTask task)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Element |
makeTooltip(DBID id,
double x,
double y,
double dotsize) |
protected void |
setupCSS(SVGPlot svgp)
Registers the Tooltip-CSS-Class at a SVGPlot.
|
contentChanged, destroy, handleHoverEvent, redraw, toggleTooltip
setupCanvas
contextChanged, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, synchronizedRedraw, testRedraw
public static final String NAME_ID
public static final String NAME_LABEL
public static final String NAME_CLASS
public static final String NAME_EID
private Relation<?> result
private double fontsize
public TooltipStringVisualization(VisualizationTask task)
task
- Taskprotected Element makeTooltip(DBID id, double x, double y, double dotsize)
makeTooltip
in class AbstractTooltipVisualization<NV extends NumberVector<NV,?>>
protected void setupCSS(SVGPlot svgp)
setupCSS
in class AbstractTooltipVisualization<NV extends NumberVector<NV,?>>
svgp
- the SVGPlot to register the Tooltip-CSS-Class.