| java.lang.Object org.jfree.chart.labels.HighLowItemLabelGenerator
Method Summary | |
public Object | clone() Returns an independent copy of the generator. | public boolean | equals(Object obj) Tests if this object is equal to another.
Parameters: obj - the other object. | public String | generateLabel(XYDataset dataset, int series, int category) Generates a label for the specified item. | public String | generateToolTip(XYDataset dataset, int series, int item) Generates a tooltip text item for a particular item within a series.
Parameters: dataset - the dataset. Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
HighLowItemLabelGenerator | public HighLowItemLabelGenerator()(Code) | | Creates an item label generator using the default date and number
formats.
|
HighLowItemLabelGenerator | public HighLowItemLabelGenerator(DateFormat dateFormatter, NumberFormat numberFormatter)(Code) | | Creates a tool tip generator using the supplied date formatter.
Parameters: dateFormatter - the date formatter (null not permitted). Parameters: numberFormatter - the number formatter (null not permitted). |
equals | public boolean equals(Object obj)(Code) | | Tests if this object is equal to another.
Parameters: obj - the other object. A boolean. |
generateLabel | public String generateLabel(XYDataset dataset, int series, int category)(Code) | | Generates a label for the specified item. The label is typically a
formatted version of the data value, but any text can be used.
Parameters: dataset - the dataset (null not permitted). Parameters: series - the series index (zero-based). Parameters: category - the category index (zero-based). The label (possibly null ). |
generateToolTip | public String generateToolTip(XYDataset dataset, int series, int item)(Code) | | Generates a tooltip text item for a particular item within a series.
Parameters: dataset - the dataset. Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). The tooltip text. |
|
|