public class MultipleXYSeriesLabelGenerator extends Object implements XYSeriesLabelGenerator, Cloneable, org.jfree.util.PublicCloneable, Serializable
XYDataset
.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_LABEL_FORMAT
The default item label format.
|
Constructor and Description |
---|
MultipleXYSeriesLabelGenerator()
Creates an item label generator using default number formatters.
|
MultipleXYSeriesLabelGenerator(String format)
Creates a new series label generator.
|
Modifier and Type | Method and Description |
---|---|
void |
addSeriesLabel(int series,
String label)
Adds an extra label for the specified series.
|
void |
clearSeriesLabels(int series)
Clears the extra labels for the specified series.
|
Object |
clone()
Returns an independent copy of the generator.
|
boolean |
equals(Object obj)
Tests this object for equality with an arbitrary object.
|
String |
generateLabel(XYDataset dataset,
int series)
Generates a label for the specified series.
|
int |
hashCode()
Returns a hash code for this instance.
|
public static final String DEFAULT_LABEL_FORMAT
public MultipleXYSeriesLabelGenerator()
public MultipleXYSeriesLabelGenerator(String format)
format
- the format pattern (null
not permitted).public void addSeriesLabel(int series, String label)
series
- the series index.label
- the label.public void clearSeriesLabels(int series)
series
- the series index.public String generateLabel(XYDataset dataset, int series)
generateLabel
in interface XYSeriesLabelGenerator
dataset
- the dataset (null
not permitted).series
- the series.public Object clone() throws CloneNotSupportedException
clone
in interface org.jfree.util.PublicCloneable
clone
in class Object
CloneNotSupportedException
- if cloning is not supported.public boolean equals(Object obj)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics