|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.chart.labels.AbstractCategoryItemLabelGenerator org.jfree.chart.labels.StandardCategoryToolTipGenerator org.jfree.chart.labels.IntervalCategoryToolTipGenerator
public class IntervalCategoryToolTipGenerator
A tooltip generator for plots that use data from an
IntervalCategoryDataset
.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_TOOL_TIP_FORMAT_STRING
The default format string. |
Constructor Summary | |
---|---|
IntervalCategoryToolTipGenerator()
Creates a new generator with a default number formatter. |
|
IntervalCategoryToolTipGenerator(java.lang.String labelFormat,
java.text.DateFormat formatter)
Creates a new generator with the specified date formatter. |
|
IntervalCategoryToolTipGenerator(java.lang.String labelFormat,
java.text.NumberFormat formatter)
Creates a new generator with the specified number formatter. |
Method Summary | |
---|---|
protected java.lang.Object[] |
createItemArray(CategoryDataset dataset,
int row,
int column)
Creates the array of items that can be passed to the MessageFormat class for creating labels. |
boolean |
equals(java.lang.Object obj)
Tests this tool tip generator for equality with an arbitrary object. |
Methods inherited from class org.jfree.chart.labels.StandardCategoryToolTipGenerator |
---|
generateToolTip |
Methods inherited from class org.jfree.chart.labels.AbstractCategoryItemLabelGenerator |
---|
clone, generateColumnLabel, generateLabelString, generateRowLabel, getDateFormat, getLabelFormat, getNumberFormat, hashCode |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_TOOL_TIP_FORMAT_STRING
Constructor Detail |
---|
public IntervalCategoryToolTipGenerator()
public IntervalCategoryToolTipGenerator(java.lang.String labelFormat, java.text.NumberFormat formatter)
labelFormat
- the label format string (null
not
permitted).formatter
- the number formatter (null
not permitted).public IntervalCategoryToolTipGenerator(java.lang.String labelFormat, java.text.DateFormat formatter)
labelFormat
- the label format string (null
not
permitted).formatter
- the date formatter (null
not permitted).Method Detail |
---|
protected java.lang.Object[] createItemArray(CategoryDataset dataset, int row, int column)
MessageFormat
class for creating labels.
createItemArray
in class AbstractCategoryItemLabelGenerator
dataset
- the dataset (null
not permitted).row
- the row index (zero-based).column
- the column index (zero-based).
null
).public boolean equals(java.lang.Object obj)
equals
in class StandardCategoryToolTipGenerator
obj
- the object (null
permitted).
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |