Package org.jfree.chart.labels
Interface PieToolTipGenerator
-
- All Known Implementing Classes:
StandardPieToolTipGenerator
public interface PieToolTipGeneratorA tool tip generator that is used by thePiePlotclass.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgenerateToolTip(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 returnnullto indicate that no tool tip should be displayed for an item.- Parameters:
dataset- the dataset (nullnot permitted).key- the section key (nullnot permitted).- Returns:
- The tool tip text (possibly
null).
-
-