public class BoxAndWhiskerToolTipGenerator extends StandardCategoryToolTipGenerator implements CategoryToolTipGenerator, java.lang.Cloneable, org.jfree.util.PublicCloneable, java.io.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 java.lang.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(java.lang.String format,
java.text.NumberFormat formatter)
Creates a tool tip formatter.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.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(java.lang.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
public static final java.lang.String DEFAULT_TOOL_TIP_FORMAT
public BoxAndWhiskerToolTipGenerator()
public BoxAndWhiskerToolTipGenerator(java.lang.String format, java.text.NumberFormat formatter)
format
- the tool tip format string.formatter
- the formatter.protected java.lang.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(java.lang.Object obj)
equals
in class StandardCategoryToolTipGenerator
obj
- the other object.