| java.lang.Object org.jfree.chart.labels.StandardCategorySeriesLabelGenerator
Method Summary | |
public 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.
Parameters: dataset - the dataset (null not permitted). Parameters: series - the series (zero-based index). | public boolean | equals(Object obj) Tests this object for equality with an arbitrary object.
Parameters: obj - the other object (null permitted). | public String | generateLabel(CategoryDataset dataset, int series) Generates a label for the specified series.
Parameters: dataset - the dataset (null not permitted). Parameters: series - the series. |
DEFAULT_LABEL_FORMAT | final public static String DEFAULT_LABEL_FORMAT(Code) | | The default item label format.
|
StandardCategorySeriesLabelGenerator | public StandardCategorySeriesLabelGenerator(String format)(Code) | | Creates a new series label generator.
Parameters: format - the format pattern (null not permitted). |
createItemArray | protected Object[] createItemArray(CategoryDataset dataset, int series)(Code) | | Creates the array of items that can be passed to the
MessageFormat class for creating labels.
Parameters: dataset - the dataset (null not permitted). Parameters: series - the series (zero-based index). The items (never null ). |
equals | public boolean equals(Object obj)(Code) | | Tests this object for equality with an arbitrary object.
Parameters: obj - the other object (null permitted). A boolean. |
generateLabel | public String generateLabel(CategoryDataset dataset, int series)(Code) | | Generates a label for the specified series.
Parameters: dataset - the dataset (null not permitted). Parameters: series - the series. A series label. |
|
|