Interface TooltipProvider.Index

All Superinterfaces:
BasicTooltipProvider, TooltipProvider
All Known Implementing Classes:
Distribution, GenericPop, Pop2D, Pop3D
Enclosing interface:
TooltipProvider

public static interface TooltipProvider.Index extends TooltipProvider
Views that provide extended tooltips for specific locations that go beyond the capabilities of the BasicTooltipProvider should implement this interface. The index typically refers to an individual node but may equally refer to a location on a lattice for PDE models or 2D trait distributions.
  • Method Details

    • getTooltipAt

      String getTooltipAt(AbstractGraph<?> graph, int index)
      Get the tooltip for the location with index index.
      Parameters:
      graph - the graph requesting the tooltip
      index - the index of the location
      Returns:
      the tooltip for the node
      See Also: