|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.labels.AbstractCategoryItemLabelGenerator
org.jfree.chart.labels.StandardCategoryToolTipGenerator
A standard tool tip generator that can be used with a
CategoryItemRenderer
.
Field Summary | |
static java.lang.String |
DEFAULT_TOOL_TIP_FORMAT_STRING
The default format string. |
Constructor Summary | |
StandardCategoryToolTipGenerator()
Creates a new generator with a default number formatter. |
|
StandardCategoryToolTipGenerator(java.lang.String labelFormat,
java.text.DateFormat formatter)
Creates a new generator with the specified date formatter. |
|
StandardCategoryToolTipGenerator(java.lang.String labelFormat,
java.text.NumberFormat formatter)
Creates a new generator with the specified number formatter. |
Method Summary | |
java.lang.String |
generateToolTip(CategoryDataset dataset,
int row,
int column)
Generates the tool tip text for an item in a dataset. |
Methods inherited from class org.jfree.chart.labels.AbstractCategoryItemLabelGenerator |
clone, createItemArray, equals, generateColumnLabel, generateLabelString, generateRowLabel, getDateFormat, getLabelFormat, getNumberFormat |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_TOOL_TIP_FORMAT_STRING
Constructor Detail |
public StandardCategoryToolTipGenerator()
public StandardCategoryToolTipGenerator(java.lang.String labelFormat, java.text.NumberFormat formatter)
labelFormat
- the label format string (null
not permitted).formatter
- the number formatter (null
not permitted).public StandardCategoryToolTipGenerator(java.lang.String labelFormat, java.text.DateFormat formatter)
labelFormat
- the label format string (null
not permitted).formatter
- the date formatter (null
not permitted).Method Detail |
public java.lang.String generateToolTip(CategoryDataset dataset, int row, int column)
generateToolTip
in interface CategoryToolTipGenerator
dataset
- the dataset (null
not permitted).row
- the row index (zero-based).column
- the column index (zero-based).
null
).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |