|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jfree.chart.labels.StandardCategorySeriesLabelGenerator
A standard series label generator for plots that use data from
a CategoryDataset.
| Field Summary | |
static java.lang.String |
DEFAULT_LABEL_FORMAT
The default item label format. |
| Constructor Summary | |
StandardCategorySeriesLabelGenerator()
Creates a default series label generator (uses DEFAULT_LABEL_FORMAT). |
|
StandardCategorySeriesLabelGenerator(java.lang.String format)
Creates a new series label generator. |
|
| Method Summary | |
java.lang.Object |
clone()
Returns an independent copy of the generator. |
protected java.lang.Object[] |
createItemArray(CategoryDataset dataset,
int series)
Creates the array of items that can be passed to the MessageFormat class for creating labels. |
boolean |
equals(java.lang.Object obj)
Tests this object for equality with an arbitrary object. |
java.lang.String |
generateLabel(CategoryDataset dataset,
int series)
Generates a label for the specified series. |
| 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_LABEL_FORMAT
| Constructor Detail |
public StandardCategorySeriesLabelGenerator()
DEFAULT_LABEL_FORMAT).
public StandardCategorySeriesLabelGenerator(java.lang.String format)
format - the format pattern (null not permitted).| Method Detail |
public java.lang.String generateLabel(CategoryDataset dataset,
int series)
generateLabel in interface CategorySeriesLabelGeneratordataset - the dataset (null not permitted).series - the series.
protected java.lang.Object[] createItemArray(CategoryDataset dataset,
int series)
MessageFormat class for creating labels.
dataset - the dataset (null not permitted).series - the series (zero-based index).
null).
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface org.jfree.util.PublicCloneablejava.lang.CloneNotSupportedException - if cloning is not supported.public boolean equals(java.lang.Object obj)
obj - the other object (null permitted).
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||