|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jfree.chart.tooltips.StandardXYToolTipGenerator
A standard tool tip generator for plots that use data from an XYDataset
.
Constructor Summary | |
StandardXYToolTipGenerator()
Creates a tool tip generator using default number formatters. |
|
StandardXYToolTipGenerator(java.text.NumberFormat xFormat,
java.text.NumberFormat yFormat)
Cnstructs a tool tip generator using the specified number formatters. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Tests if this object is equal to another. |
java.lang.String |
generateToolTip(XYDataset data,
int series,
int item)
Generates a tool tip text item for a particular item within a series. |
java.text.NumberFormat |
getXFormat()
Returns the number formatter for the x-values. |
java.text.NumberFormat |
getYFormat()
Returns the number formatter for the y-values. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StandardXYToolTipGenerator()
public StandardXYToolTipGenerator(java.text.NumberFormat xFormat, java.text.NumberFormat yFormat)
xFormat
- the format object for the x values.yFormat
- the format object for the y values.Method Detail |
public java.text.NumberFormat getXFormat()
public java.text.NumberFormat getYFormat()
public java.lang.String generateToolTip(XYDataset data, int series, int item)
generateToolTip
in interface XYToolTipGenerator
data
- the dataset.series
- the series index (zero-based).item
- the item index (zero-based).
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the other object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |