Package org.jfree.chart.labels
Class BoxAndWhiskerToolTipGenerator
java.lang.Object
org.jfree.chart.labels.AbstractCategoryItemLabelGenerator
org.jfree.chart.labels.StandardCategoryToolTipGenerator
org.jfree.chart.labels.BoxAndWhiskerToolTipGenerator
- All Implemented Interfaces:
Serializable,Cloneable,CategoryToolTipGenerator,org.jfree.util.PublicCloneable
public class BoxAndWhiskerToolTipGenerator extends StandardCategoryToolTipGenerator implements CategoryToolTipGenerator, Cloneable, Serializable
An item label generator for plots that use data from a
BoxAndWhiskerCategoryDataset.
The tooltip text and item label text are composed using a
MessageFormat object, that can aggregate some or all of the
following string values into a message.
| 0 | Series Name |
| 1 | X (value or date) |
| 2 | Mean |
| 3 | Median |
| 4 | Minimum |
| 5 | Maximum |
| 6 | Quartile 1 |
| 7 | Quartile 3 |
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_TOOL_TIP_FORMATThe default tooltip format string.Fields inherited from class org.jfree.chart.labels.StandardCategoryToolTipGenerator
DEFAULT_TOOL_TIP_FORMAT_STRING -
Constructor Summary
Constructors Constructor Description BoxAndWhiskerToolTipGenerator()Creates a default tool tip generator.BoxAndWhiskerToolTipGenerator(String format, NumberFormat formatter)Creates a tool tip formatter. -
Method Summary
Methods inherited from class org.jfree.chart.labels.StandardCategoryToolTipGenerator
generateToolTipMethods inherited from class org.jfree.chart.labels.AbstractCategoryItemLabelGenerator
clone, getDateFormat, getLabelFormat, getNumberFormatMethods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jfree.chart.labels.CategoryToolTipGenerator
generateToolTip
-
Field Details
-
DEFAULT_TOOL_TIP_FORMAT
The default tooltip format string.- See Also:
- Constant Field Values
-
-
Constructor Details
-
BoxAndWhiskerToolTipGenerator
public BoxAndWhiskerToolTipGenerator()Creates a default tool tip generator. -
BoxAndWhiskerToolTipGenerator
Creates a tool tip formatter.- Parameters:
format- the tool tip format string.formatter- the formatter.
-
-
Method Details
-
equals
Tests if this object is equal to another.- Overrides:
equalsin classAbstractCategoryItemLabelGenerator- Parameters:
o- the other object.- Returns:
- A boolean.
-