| java.lang.Object org.jfree.chart.labels.AbstractXYItemLabelGenerator org.jfree.chart.labels.StandardXYItemLabelGenerator
Method Summary | |
public Object | clone() Returns an independent copy of the generator. | public boolean | equals(Object obj) Tests this object for equality with an arbitrary object.
Parameters: obj - the other object (null permitted). | public String | generateLabel(XYDataset dataset, int series, int item) Generates the item label text for an item in a dataset.
Parameters: dataset - the dataset (null not permitted). Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). |
DEFAULT_ITEM_LABEL_FORMAT | final public static String DEFAULT_ITEM_LABEL_FORMAT(Code) | | The default item label format.
|
StandardXYItemLabelGenerator | public StandardXYItemLabelGenerator()(Code) | | Creates an item label generator using default number formatters.
|
StandardXYItemLabelGenerator | public StandardXYItemLabelGenerator(String formatString, NumberFormat xFormat, NumberFormat yFormat)(Code) | | Creates an item label generator using the specified number formatters.
Parameters: formatString - the item label format string (null not permitted). Parameters: xFormat - the format object for the x values (null not permitted). Parameters: yFormat - the format object for the y values (null not permitted). |
StandardXYItemLabelGenerator | public StandardXYItemLabelGenerator(String formatString, DateFormat xFormat, NumberFormat yFormat)(Code) | | Creates an item label generator using the specified formatters.
Parameters: formatString - the item label format string (null not permitted). Parameters: xFormat - the format object for the x values (null not permitted). Parameters: yFormat - the format object for the y values (null not permitted). |
StandardXYItemLabelGenerator | public StandardXYItemLabelGenerator(String formatString, NumberFormat xFormat, DateFormat yFormat)(Code) | | Creates an item label generator using the specified formatters (a
number formatter for the x-values and a date formatter for the
y-values).
Parameters: formatString - the item label format string (null not permitted). Parameters: xFormat - the format object for the x values (null permitted). Parameters: yFormat - the format object for the y values (null not permitted). since: 1.0.4 |
StandardXYItemLabelGenerator | public StandardXYItemLabelGenerator(String formatString, DateFormat xFormat, DateFormat yFormat)(Code) | | Creates a label generator using the specified date formatters.
Parameters: formatString - the label format string (null not permitted). Parameters: xFormat - the format object for the x values (null not permitted). Parameters: yFormat - the format object for the y values (null not permitted). |
equals | public boolean equals(Object obj)(Code) | | Tests this object for equality with an arbitrary object.
Parameters: obj - the other object (null permitted). A boolean. |
generateLabel | public String generateLabel(XYDataset dataset, int series, int item)(Code) | | Generates the item label text for an item in a dataset.
Parameters: dataset - the dataset (null not permitted). Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The label text (possibly null ). |
|
|