|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.labels.StandardPieItemLabelGenerator
A standard item label generator for plots that use data from a PieDataset
.
Constructor Summary | |
StandardPieItemLabelGenerator()
Creates an item label generator with a default number formatter. |
|
StandardPieItemLabelGenerator(java.text.NumberFormat formatter)
Creates an item label generator with the specified number formatter. |
Method Summary | |
java.lang.Object |
clone()
Returns an independent copy of the generator. |
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 |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StandardPieItemLabelGenerator()
public StandardPieItemLabelGenerator(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 PieItemLabelGenerator
data
- the dataset.key
- the item key.pieIndex
- the pie index (ignored).
null
).public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- should not happen.public boolean equals(java.lang.Object o)
o
- the other object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |