public class BoxAndWhiskerToolTipGenerator extends StandardCategoryToolTipGenerator implements CategoryToolTipGenerator, Cloneable, 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.
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.
|
generateToolTip
clone, generateColumnLabel, generateLabelString, generateRowLabel, getDateFormat, getLabelFormat, getNumberFormat, hashCode
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
generateToolTip
clone
public 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 AbstractCategoryItemLabelGenerator
dataset
- 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 StandardCategoryToolTipGenerator
obj
- the other object.Copyright © 2001–2017 JFree.org. All rights reserved.