org.jfree.chart.labels
public class StandardCategorySeriesLabelGenerator extends Object implements CategorySeriesLabelGenerator, Cloneable, PublicCloneable, Serializable
Field Summary | |
---|---|
static String | DEFAULT_LABEL_FORMAT The default item label format. |
Constructor Summary | |
---|---|
StandardCategorySeriesLabelGenerator()
Creates a default series label generator (uses
DEFAULT_LABEL_FORMAT). | |
StandardCategorySeriesLabelGenerator(String format)
Creates a new series label generator.
|
Method Summary | |
---|---|
Object | clone()
Returns an independent copy of the generator.
|
protected Object[] | createItemArray(CategoryDataset dataset, int series)
Creates the array of items that can be passed to the
MessageFormat class for creating labels.
|
boolean | equals(Object obj)
Tests this object for equality with an arbitrary object.
|
String | generateLabel(CategoryDataset dataset, int series)
Generates a label for the specified series.
|
int | hashCode()
Returns a hash code for this instance.
|
Parameters: format the format pattern (null
not permitted).
Returns: A clone.
Throws: CloneNotSupportedException if cloning is not supported.
Parameters: dataset the dataset (null
not permitted). series the series (zero-based index).
Returns: The items (never null
).
Parameters: obj the other object (null
permitted).
Returns: A boolean.
Parameters: dataset the dataset (null
not permitted). series the series.
Returns: A series label.
Returns: A hash code.