|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualization de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.P2DVisualization<NV> de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.AbstractTooltipVisualization<NV> de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.TooltipStringVisualization<NV>
NV
- Data type visualized.public class TooltipStringVisualization<NV extends NumberVector<NV,?>>
Generates a SVG-Element containing Tooltips. Tooltips remain invisible until their corresponding Marker is touched by the cursor and stay visible as long as the cursor lingers on the marker.
Nested Class Summary | |
---|---|
static class |
TooltipStringVisualization.Factory<NV extends NumberVector<NV,?>>
Factory |
Field Summary | |
---|---|
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 |
Fields inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.AbstractTooltipVisualization |
---|
TOOLTIP_AREA, TOOLTIP_HIDDEN, TOOLTIP_STICKY, TOOLTIP_VISIBLE |
Fields inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.P2DVisualization |
---|
proj, rel |
Fields inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualization |
---|
context, layer, pendingRedraw, svgp, task |
Constructor Summary | |
---|---|
TooltipStringVisualization(VisualizationTask task)
Constructor. |
Method Summary | |
---|---|
protected Element |
makeTooltip(DBID id,
double x,
double y,
double dotsize)
|
protected void |
setupCSS(SVGPlot svgp)
Registers the Tooltip-CSS-Class at a SVGPlot. |
Methods inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.AbstractTooltipVisualization |
---|
contentChanged, destroy, handleHoverEvent, redraw, toggleTooltip |
Methods inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.vis2d.P2DVisualization |
---|
setupCanvas |
Methods inherited from class de.lmu.ifi.dbs.elki.visualization.visualizers.AbstractVisualization |
---|
contextChanged, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved, synchronizedRedraw, testRedraw |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public TooltipStringVisualization(VisualizationTask task)
task
- TaskMethod Detail |
---|
protected 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.
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |