Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jfree.chart.labels.AbstractCategoryItemLabelGenerator
org.jfree.chart.labels.StandardCategoryToolTipGenerator
org.jfree.chart.labels.BoxAndWhiskerToolTipGenerator
public class BoxAndWhiskerToolTipGenerator
extends StandardCategoryToolTipGenerator
implements CategoryToolTipGenerator, Cloneable, PublicCloneable, Serializable
BoxAndWhiskerCategoryDataset
.
The tooltip text and item label text are composed using a
java.text.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 |
Field Summary | |
static String |
|
Fields inherited from class org.jfree.chart.labels.StandardCategoryToolTipGenerator | |
DEFAULT_TOOL_TIP_FORMAT_STRING |
Constructor Summary | |
| |
|
Method Summary | |
protected Object[] |
|
boolean |
|
Methods inherited from class org.jfree.chart.labels.StandardCategoryToolTipGenerator | |
equals , generateToolTip |
Methods inherited from class org.jfree.chart.labels.AbstractCategoryItemLabelGenerator | |
clone , createItemArray , equals , generateColumnLabel , generateLabelString , generateRowLabel , getDateFormat , getLabelFormat , getNumberFormat |
public static final String DEFAULT_TOOL_TIP_FORMAT
The default tooltip format string.
public BoxAndWhiskerToolTipGenerator()
Creates a default tool tip generator.
public BoxAndWhiskerToolTipGenerator(String format, NumberFormat formatter)
Creates a tool tip formatter.
- Parameters:
format
- the tool tip format string.formatter
- the formatter.
protected Object[] createItemArray(CategoryDataset dataset, int series, int item)
Creates the array of items that can be passed to theMessageFormat
class for creating labels.
- Overrides:
- createItemArray in interface AbstractCategoryItemLabelGenerator
- Parameters:
dataset
- the dataset (null
not permitted).series
- the series (zero-based index).item
- the item (zero-based index).
- Returns:
- The items (never
null
).
public boolean equals(Object obj)
Tests if this object is equal to another.
- Overrides:
- equals in interface StandardCategoryToolTipGenerator
- Parameters:
obj
- the other object.
- Returns:
- A boolean.