|
||||||||||
| 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.StandardCategoryLabelGenerator
A standard label generator that can be used with a
CategoryItemRenderer.
| Field Summary | |
static java.lang.String |
DEFAULT_LABEL_FORMAT_STRING
The default format string. |
| Constructor Summary | |
StandardCategoryLabelGenerator()
Creates a new generator with a default number formatter. |
|
StandardCategoryLabelGenerator(java.lang.String labelFormat,
java.text.DateFormat formatter)
Creates a new generator with the specified date formatter. |
|
StandardCategoryLabelGenerator(java.lang.String labelFormat,
java.text.NumberFormat formatter)
Creates a new generator with the specified number formatter. |
|
| Method Summary | |
java.lang.String |
generateLabel(CategoryDataset dataset,
int row,
int column)
Generates the label for an item in a dataset. |
| Methods inherited from class org.jfree.chart.labels.AbstractCategoryItemLabelGenerator |
clone, createItemArray, equals, generateLabelString, getDateFormat, getLabelFormat, getNumberFormat |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jfree.util.PublicCloneable |
clone |
| Field Detail |
public static final java.lang.String DEFAULT_LABEL_FORMAT_STRING
| Constructor Detail |
public StandardCategoryLabelGenerator()
public StandardCategoryLabelGenerator(java.lang.String labelFormat,
java.text.NumberFormat formatter)
labelFormat - the label format string (null not permitted).formatter - the number formatter (null not permitted).
public StandardCategoryLabelGenerator(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 generateLabel(CategoryDataset dataset,
int row,
int column)
generateLabel in interface CategoryLabelGeneratordataset - 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 | |||||||||