org.jfree.chart.labels
public class HighLowItemLabelGenerator extends Object implements XYItemLabelGenerator, XYToolTipGenerator, Cloneable, PublicCloneable, Serializable
Constructor Summary | |
---|---|
HighLowItemLabelGenerator()
Creates an item label generator using the default date and number
formats. | |
HighLowItemLabelGenerator(DateFormat dateFormatter, NumberFormat numberFormatter)
Creates a tool tip generator using the supplied date formatter.
|
Method Summary | |
---|---|
Object | clone()
Returns an independent copy of the generator.
|
boolean | equals(Object obj)
Tests if this object is equal to another.
|
String | generateLabel(XYDataset dataset, int series, int category)
Generates a label for the specified item. |
String | generateToolTip(XYDataset dataset, int series, int item)
Generates a tooltip text item for a particular item within a series.
|
Parameters: dateFormatter the date formatter (null
not
permitted). numberFormatter the number formatter (null
not
permitted).
Returns: A clone.
Throws: CloneNotSupportedException if cloning is not supported.
Parameters: obj the other object.
Returns: A boolean.
Parameters: dataset the dataset (null
not permitted). series the series index (zero-based). category the category index (zero-based).
Returns: The label (possibly null
).
Parameters: dataset the dataset. series the series (zero-based index). item the item (zero-based index).
Returns: The tooltip text.