|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jfree.chart.tooltips.CustomXYToolTipGenerator
A tool tip generator that stores custom tooltips. The dataset passed into the generateToolTip method is ignored.
Constructor Summary | |
CustomXYToolTipGenerator()
Default constructor. |
Method Summary | |
void |
addToolTipSeries(java.util.List toolTips)
Adds a list of tooltips for a series. |
boolean |
equals(java.lang.Object o)
Tests if this object is equal to another. |
java.lang.String |
generateToolTip(XYDataset data,
int series,
int item)
Generates a tool tip text item for a particular item within a series. |
int |
getListCount()
Returns the number of tool tip lists stored by the renderer. |
int |
getToolTipCount(int list)
Returns the number of tool tips in a given list. |
java.lang.String |
getToolTipText(int series,
int item)
Returns the tool tip text for an item. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CustomXYToolTipGenerator()
Method Detail |
public int getListCount()
public int getToolTipCount(int list)
list
- the list index (zero based).
public java.lang.String getToolTipText(int series, int item)
series
- the series index.item
- the item index.
public void addToolTipSeries(java.util.List toolTips)
toolTips
- the list of tool tips.public java.lang.String generateToolTip(XYDataset data, int series, int item)
generateToolTip
in interface XYToolTipGenerator
data
- the dataset (ignored in this implementation).series
- the series (zero-based index).item
- the item (zero-based index).
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the other object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |