org.jfree.chart.labels
Class StandardPieToolTipGenerator

java.lang.Object
  extended byorg.jfree.chart.labels.StandardPieToolTipGenerator
All Implemented Interfaces:
java.lang.Cloneable, PieItemLabelGenerator, java.io.Serializable

Deprecated. Use StandardPieItemLabelGenerator.

public class StandardPieToolTipGenerator
extends java.lang.Object
implements PieItemLabelGenerator, java.lang.Cloneable, java.io.Serializable

A standard tool tip generator for plots that use data from a PieDataset.

Author:
David Gilbert
See Also:
Serialized Form

Constructor Summary
StandardPieToolTipGenerator()
          Deprecated. Creates a tool tip generator with a default number formatter.
StandardPieToolTipGenerator(java.text.NumberFormat formatter)
          Deprecated. Creates a tool tip generator with the specified number formatter.
 
Method Summary
 java.lang.Object clone()
          Deprecated. Returns an independent copy of the generator.
 boolean equals(java.lang.Object o)
          Deprecated. Tests if this object is equal to another.
 java.lang.String generateToolTip(PieDataset data, java.lang.Comparable key, int pieIndex)
          Deprecated. Generates a tool tip text item for one section in a pie chart.
 java.text.NumberFormat getNumberFormat()
          Deprecated. Returns the number formatter.
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardPieToolTipGenerator

public StandardPieToolTipGenerator()
Deprecated. 
Creates a tool tip generator with a default number formatter.


StandardPieToolTipGenerator

public StandardPieToolTipGenerator(java.text.NumberFormat formatter)
Deprecated. 
Creates a tool tip generator with the specified number formatter.

Parameters:
formatter - the number formatter.
Method Detail

getNumberFormat

public java.text.NumberFormat getNumberFormat()
Deprecated. 
Returns the number formatter.

Returns:
the number formatter.

generateToolTip

public java.lang.String generateToolTip(PieDataset data,
                                        java.lang.Comparable key,
                                        int pieIndex)
Deprecated. 
Generates a tool tip text item for one section in a pie chart.

Specified by:
generateToolTip in interface PieItemLabelGenerator
Parameters:
data - the dataset.
key - the item key.
pieIndex - the pie index (ignored).
Returns:
The tool tip text (possibly null).

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Deprecated. 
Returns an independent copy of the generator.

Returns:
A clone.
Throws:
java.lang.CloneNotSupportedException - should not happen.

equals

public boolean equals(java.lang.Object o)
Deprecated. 
Tests if this object is equal to another.

Parameters:
o - the other object.
Returns:
A boolean.