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.
  • Method Summary

    Modifier and Type
    Method
    Description
    getTooltipAt(int x, int y)
    Get the tooltip information for the location with coordinates (x, y).
  • Method Details

    • getTooltipAt

      String getTooltipAt(int x, int y)
      Get the tooltip information for the location with coordinates (x, y). The returned string may include HTML elements for formatting.
      Parameters:
      x - the x-coordinate for the tooltip
      y - the y-coordinate for the tooltip
      Returns:
      the (formatted) string with the tooltip info