public class CustomXYToolTipGenerator extends Object implements XYToolTipGenerator, Cloneable, PublicCloneable, Serializable
| Constructor and Description |
|---|
CustomXYToolTipGenerator()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToolTipSeries(List toolTips)
Adds a list of tooltips for a series.
|
Object |
clone()
Returns an independent copy of the generator.
|
boolean |
equals(Object obj)
Tests if this object is equal to another.
|
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.
|
String |
getToolTipText(int series,
int item)
Returns the tool tip text for an item.
|
public int getListCount()
public int getToolTipCount(int list)
list - the list index (zero based).public String getToolTipText(int series, int item)
series - the series index.item - the item index.public void addToolTipSeries(List toolTips)
toolTips - the list of tool tips.public String generateToolTip(XYDataset data, int series, int item)
generateToolTip in interface XYToolTipGeneratordata - the dataset (ignored in this implementation).series - the series (zero-based index).item - the item (zero-based index).public Object clone() throws CloneNotSupportedException
clone in interface PublicCloneableclone in class ObjectCloneNotSupportedException - if cloning is not supported.Copyright © 2001–2017 JFree.org. All rights reserved.