public class SymbolicXYItemLabelGenerator extends java.lang.Object implements XYItemLabelGenerator, XYToolTipGenerator, java.lang.Cloneable, org.jfree.util.PublicCloneable, java.io.Serializable
XYDataset
.Constructor and Description |
---|
SymbolicXYItemLabelGenerator() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns an independent copy of the generator.
|
boolean |
equals(java.lang.Object obj)
Tests if this object is equal to another.
|
java.lang.String |
generateLabel(XYDataset dataset,
int series,
int category)
Generates a label for the specified item.
|
java.lang.String |
generateToolTip(XYDataset data,
int series,
int item)
Generates a tool tip text item for a particular item within a series.
|
int |
hashCode()
Returns a hash code for this instance.
|
public SymbolicXYItemLabelGenerator()
public java.lang.String generateToolTip(XYDataset data, int series, int item)
generateToolTip
in interface XYToolTipGenerator
data
- the dataset.series
- the series number (zero-based index).item
- the item number (zero-based index).null
).public java.lang.String generateLabel(XYDataset dataset, int series, int category)
generateLabel
in interface XYItemLabelGenerator
dataset
- the dataset (null
not permitted).series
- the series index (zero-based).category
- the category index (zero-based).null
).public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface org.jfree.util.PublicCloneable
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if cloning is not supported.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the other object.public int hashCode()
hashCode
in class java.lang.Object