public class HighLowItemLabelGenerator extends Object implements XYItemLabelGenerator, XYToolTipGenerator, Cloneable, org.jfree.util.PublicCloneable, Serializable
OHLCDataset.| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
int |
hashCode()
Returns a hash code for this instance.
|
public HighLowItemLabelGenerator()
public HighLowItemLabelGenerator(DateFormat dateFormatter, NumberFormat numberFormatter)
dateFormatter - the date formatter (null not
permitted).numberFormatter - the number formatter (null not
permitted).public String generateToolTip(XYDataset dataset, int series, int item)
generateToolTip in interface XYToolTipGeneratordataset - the dataset.series - the series (zero-based index).item - the item (zero-based index).public String generateLabel(XYDataset dataset, int series, int category)
generateLabel in interface XYItemLabelGeneratordataset - the dataset (null not permitted).series - the series index (zero-based).category - the category index (zero-based).null).public Object clone() throws CloneNotSupportedException
clone in interface org.jfree.util.PublicCloneableclone in class ObjectCloneNotSupportedException - if cloning is not supported.public boolean equals(Object obj)
Copyright © 2001-2014 JFree.org. All Rights Reserved.