Package org.jfree.chart.labels
Interface PieToolTipGenerator
-
- All Known Implementing Classes:
StandardPieToolTipGenerator
public interface PieToolTipGenerator
A tool tip generator that is used by thePiePlot
class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
generateToolTip(PieDataset dataset, java.lang.Comparable key)
Generates a tool tip text item for the specified item in the dataset.
-
-
-
Method Detail
-
generateToolTip
java.lang.String generateToolTip(PieDataset dataset, java.lang.Comparable key)
Generates a tool tip text item for the specified item in the dataset. This method can returnnull
to indicate that no tool tip should be displayed for an item.- Parameters:
dataset
- the dataset (null
not permitted).key
- the section key (null
not permitted).- Returns:
- The tool tip text (possibly
null
).
-
-