|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.labels.CustomXYToolTipGenerator
public class 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. |
java.lang.Object |
clone()
Returns an independent copy of the generator. |
boolean |
equals(java.lang.Object obj)
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 |
---|
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 java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface org.jfree.util.PublicCloneable
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if cloning is not supported.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the other object.
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |