|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.jfree.chart.tooltips.StandardPieToolTipGenerator
A standard tool tip generator for plots that use data from a PieDataset.
| Constructor Summary | |
StandardPieToolTipGenerator()
Creates a tool tip generator with a default number formatter. |
|
StandardPieToolTipGenerator(java.text.NumberFormat formatter)
Creates a tool tip generator with the specified number formatter. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Tests if this object is equal to another. |
java.lang.String |
generateToolTip(PieDataset data,
java.lang.Comparable key,
int pieIndex)
Generates a tool tip text item for one section in a pie chart. |
java.text.NumberFormat |
getNumberFormat()
Returns the number formatter. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StandardPieToolTipGenerator()
public StandardPieToolTipGenerator(java.text.NumberFormat formatter)
formatter - the number formatter.| Method Detail |
public java.text.NumberFormat getNumberFormat()
public java.lang.String generateToolTip(PieDataset data,
java.lang.Comparable key,
int pieIndex)
generateToolTip in interface PieToolTipGeneratordata - the dataset.key - the item key.pieIndex - the pie index (ignored).
null).public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the other object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||