Interface Tooltip.Provider
- All Known Implementing Classes:
AbstractGraph, GenericPopGraph, HistoGraph, LineGraph, ParaGraph, PopGraph2D, PopGraph3D, S3Graph
- Enclosing class:
Tooltip
public static interface Tooltip.Provider
Provider interface for classes that are responsible for supplying the
contents of the tooltip.
- Author:
- Christoph Hauert
-
Method Summary
Modifier and TypeMethodDescriptiongetTooltipAt(int x, int y) Get the tooltip information for the location with coordinates(x, y).
-
Method Details
-
getTooltipAt
Get the tooltip information for the location with coordinates(x, y). The returned string may include HTML elements for formatting.- Parameters:
x- thex-coordinate for the tooltipy- they-coordinate for the tooltip- Returns:
- the (formatted) string with the tooltip info
-