net.sf.jasperreports.charts.util
Class PieLabelGenerator

java.lang.Object
  extended by net.sf.jasperreports.charts.util.PieLabelGenerator
All Implemented Interfaces:
Serializable, org.jfree.chart.labels.PieSectionLabelGenerator

public class PieLabelGenerator
extends Object
implements org.jfree.chart.labels.PieSectionLabelGenerator, Serializable

Version:
$Id: PieLabelGenerator.java 5214 2012-04-03 14:53:44Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)
See Also:
Serialized Form

Constructor Summary
PieLabelGenerator(Map<Comparable<?>,String> labels)
           
 
Method Summary
 AttributedString generateAttributedSectionLabel(org.jfree.data.general.PieDataset arg0, Comparable arg1)
           
 String generateSectionLabel(org.jfree.data.general.PieDataset arg0, Comparable arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PieLabelGenerator

public PieLabelGenerator(Map<Comparable<?>,String> labels)
Method Detail

generateSectionLabel

public String generateSectionLabel(org.jfree.data.general.PieDataset arg0,
                                   Comparable arg1)
Specified by:
generateSectionLabel in interface org.jfree.chart.labels.PieSectionLabelGenerator

generateAttributedSectionLabel

public AttributedString generateAttributedSectionLabel(org.jfree.data.general.PieDataset arg0,
                                                       Comparable arg1)
Specified by:
generateAttributedSectionLabel in interface org.jfree.chart.labels.PieSectionLabelGenerator


Copyright © 2012. All Rights Reserved.