| java.lang.Object org.jfree.chart.labels.MultipleXYSeriesLabelGenerator
Method Summary | |
public void | addSeriesLabel(int series, String label) Adds an extra label for the specified series. | public void | clearSeriesLabels(int series) Clears the extra labels for the specified series. | public Object | clone() Returns an independent copy of the generator. | protected Object[] | createItemArray(XYDataset 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(XYDataset dataset, int series) Generates a label for the specified series. |
DEFAULT_LABEL_FORMAT | final public static String DEFAULT_LABEL_FORMAT(Code) | | The default item label format.
|
MultipleXYSeriesLabelGenerator | public MultipleXYSeriesLabelGenerator()(Code) | | Creates an item label generator using default number formatters.
|
MultipleXYSeriesLabelGenerator | public MultipleXYSeriesLabelGenerator(String format)(Code) | | Creates a new series label generator.
Parameters: format - the format pattern (null not permitted). |
addSeriesLabel | public void addSeriesLabel(int series, String label)(Code) | | Adds an extra label for the specified series.
Parameters: series - the series index. Parameters: label - the label. |
clearSeriesLabels | public void clearSeriesLabels(int series)(Code) | | Clears the extra labels for the specified series.
Parameters: series - the series index. |
createItemArray | protected Object[] createItemArray(XYDataset 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(XYDataset dataset, int series)(Code) | | Generates a label for the specified series. This label will be
used for the chart legend.
Parameters: dataset - the dataset (null not permitted). Parameters: series - the series. A series label. |
|
|