public class BoxAndWhiskerToolTipGenerator extends StandardCategoryToolTipGenerator implements CategoryToolTipGenerator, Cloneable, org.jfree.util.PublicCloneable, Serializable
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 |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_TOOL_TIP_FORMAT
The default tooltip format string.
|
DEFAULT_TOOL_TIP_FORMAT_STRING| Constructor and Description |
|---|
BoxAndWhiskerToolTipGenerator()
Creates a default tool tip generator.
|
BoxAndWhiskerToolTipGenerator(String format,
NumberFormat formatter)
Creates a tool tip formatter.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object[] |
createItemArray(CategoryDataset dataset,
int series,
int item)
Creates the array of items that can be passed to the
MessageFormat class for creating labels. |
boolean |
equals(Object obj)
Tests if this object is equal to another.
|
generateToolTipclone, generateColumnLabel, generateLabelString, generateRowLabel, getDateFormat, getLabelFormat, getNumberFormat, hashCodefinalize, getClass, notify, notifyAll, toString, wait, wait, waitgenerateToolTippublic static final String DEFAULT_TOOL_TIP_FORMAT
public BoxAndWhiskerToolTipGenerator()
public BoxAndWhiskerToolTipGenerator(String format, NumberFormat formatter)
format - the tool tip format string.formatter - the formatter.protected Object[] createItemArray(CategoryDataset dataset, int series, int item)
MessageFormat class for creating labels.createItemArray in class AbstractCategoryItemLabelGeneratordataset - the dataset (null not permitted).series - the series (zero-based index).item - the item (zero-based index).null).public boolean equals(Object obj)
equals in class StandardCategoryToolTipGeneratorobj - the other object.Copyright © 2001-2014 JFree.org. All Rights Reserved.