| java.lang.Object org.jfree.chart.labels.CustomXYToolTipGenerator
CustomXYToolTipGenerator | public class CustomXYToolTipGenerator implements XYToolTipGenerator,Cloneable,PublicCloneable,Serializable(Code) | | A tool tip generator that stores custom tooltips. The dataset passed into
the generateToolTip method is ignored.
|
Method Summary | |
public void | addToolTipSeries(List toolTips) Adds a list of tooltips for a series. | public Object | clone() Returns an independent copy of the generator. | public boolean | equals(Object obj) Tests if this object is equal to another.
Parameters: obj - the other object. | public String | generateToolTip(XYDataset data, int series, int item) Generates a tool tip text item for a particular item within a series.
Parameters: data - the dataset (ignored in this implementation). Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). | public int | getListCount() Returns the number of tool tip lists stored by the renderer. | public int | getToolTipCount(int list) Returns the number of tool tips in a given list.
Parameters: list - the list index (zero based). | public String | getToolTipText(int series, int item) Returns the tool tip text for an item.
Parameters: series - the series index. Parameters: item - the item index. |
CustomXYToolTipGenerator | public CustomXYToolTipGenerator()(Code) | | Default constructor.
|
addToolTipSeries | public void addToolTipSeries(List toolTips)(Code) | | Adds a list of tooltips for a series.
Parameters: toolTips - the list of tool tips. |
equals | public boolean equals(Object obj)(Code) | | Tests if this object is equal to another.
Parameters: obj - the other object. A boolean. |
generateToolTip | public String generateToolTip(XYDataset data, int series, int item)(Code) | | Generates a tool tip text item for a particular item within a series.
Parameters: data - the dataset (ignored in this implementation). Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). The tooltip text. |
getListCount | public int getListCount()(Code) | | Returns the number of tool tip lists stored by the renderer.
The list count. |
getToolTipCount | public int getToolTipCount(int list)(Code) | | Returns the number of tool tips in a given list.
Parameters: list - the list index (zero based). The tooltip count. |
getToolTipText | public String getToolTipText(int series, int item)(Code) | | Returns the tool tip text for an item.
Parameters: series - the series index. Parameters: item - the item index. The tool tip text. |
|
|