org.jfree.chart.labels

Class StandardContourToolTipGenerator

Implemented Interfaces:
ContourToolTipGenerator, Serializable

public class StandardContourToolTipGenerator
extends java.lang.Object
implements ContourToolTipGenerator, Serializable

A standard tooltip generator for plots that use data from an ContourDataset.

Method Summary

boolean
equals(Object obj)
Tests if this object is equal to another.
String
generateToolTip(ContourDataset data, int item)
Generates a tooltip text item for a particular item within a series.

Method Details

equals

public boolean equals(Object obj)
Tests if this object is equal to another.
Parameters:
obj - the other object.
Returns:
A boolean.

generateToolTip

public String generateToolTip(ContourDataset data,
                              int item)
Generates a tooltip text item for a particular item within a series.
Specified by:
generateToolTip in interface ContourToolTipGenerator
Parameters:
data - the dataset.
item - the item index (zero-based).
Returns:
The tooltip text.