| java.lang.Object org.jfree.chart.labels.AbstractXYItemLabelGenerator org.jfree.chart.labels.StandardXYToolTipGenerator
All known Subclasses: org.jfree.chart.labels.BoxAndWhiskerXYToolTipGenerator, org.jfree.chart.labels.StandardXYZToolTipGenerator,
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 | generateToolTip(XYDataset dataset, int series, int item) Generates the tool tip 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). | public static StandardXYToolTipGenerator | getTimeSeriesInstance() Returns a tool tip generator that formats the x-values as dates and the
y-values as numbers. |
DEFAULT_TOOL_TIP_FORMAT | final public static String DEFAULT_TOOL_TIP_FORMAT(Code) | | The default tooltip format.
|
StandardXYToolTipGenerator | public StandardXYToolTipGenerator()(Code) | | Creates a tool tip generator using default number formatters.
|
StandardXYToolTipGenerator | public StandardXYToolTipGenerator(String formatString, NumberFormat xFormat, NumberFormat yFormat)(Code) | | Creates a tool tip generator using the specified number formatters.
Parameters: formatString - the item label format string (null notpermitted). Parameters: xFormat - the format object for the x values (null not permitted). Parameters: yFormat - the format object for the y values (null not permitted). |
StandardXYToolTipGenerator | public StandardXYToolTipGenerator(String formatString, DateFormat xFormat, NumberFormat yFormat)(Code) | | Creates a tool tip generator using the specified number 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). |
StandardXYToolTipGenerator | public StandardXYToolTipGenerator(String formatString, NumberFormat xFormat, DateFormat yFormat)(Code) | | Creates a tool tip 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 |
StandardXYToolTipGenerator | public StandardXYToolTipGenerator(String formatString, DateFormat xFormat, DateFormat yFormat)(Code) | | Creates a tool tip 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. |
generateToolTip | public String generateToolTip(XYDataset dataset, int series, int item)(Code) | | Generates the tool tip 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 tooltip text (possibly null ). |
getTimeSeriesInstance | public static StandardXYToolTipGenerator getTimeSeriesInstance()(Code) | | Returns a tool tip generator that formats the x-values as dates and the
y-values as numbers.
A tool tip generator (never null ). |
|
|