Class CategoryLabelGenerator

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.jfree.chart.labels.CategoryItemLabelGenerator, org.jfree.util.PublicCloneable

    public class CategoryLabelGenerator
    extends org.jfree.chart.labels.StandardCategoryItemLabelGenerator
    Author:
    Teodor Danciu (teodord@users.sourceforge.net)
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.jfree.chart.labels.StandardCategoryItemLabelGenerator

        DEFAULT_LABEL_FORMAT_STRING
    • Constructor Summary

      Constructors 
      Constructor Description
      CategoryLabelGenerator​(java.util.Map<java.lang.Comparable<?>,​java.util.Map<java.lang.Comparable<?>,​java.lang.String>> labelsMap)  
      CategoryLabelGenerator​(java.util.Map<java.lang.Comparable<?>,​java.util.Map<java.lang.Comparable<?>,​java.lang.String>> labelsMap, java.util.Locale locale)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String generateLabel​(org.jfree.data.category.CategoryDataset dataset, int series, int category)  
      • Methods inherited from class org.jfree.chart.labels.StandardCategoryItemLabelGenerator

        equals
      • Methods inherited from class org.jfree.chart.labels.AbstractCategoryItemLabelGenerator

        clone, createItemArray, generateColumnLabel, generateLabelString, generateRowLabel, getDateFormat, getLabelFormat, getNumberFormat, hashCode
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.jfree.chart.labels.CategoryItemLabelGenerator

        generateColumnLabel, generateRowLabel
      • Methods inherited from interface org.jfree.util.PublicCloneable

        clone
    • Constructor Detail

      • CategoryLabelGenerator

        public CategoryLabelGenerator​(java.util.Map<java.lang.Comparable<?>,​java.util.Map<java.lang.Comparable<?>,​java.lang.String>> labelsMap)
      • CategoryLabelGenerator

        public CategoryLabelGenerator​(java.util.Map<java.lang.Comparable<?>,​java.util.Map<java.lang.Comparable<?>,​java.lang.String>> labelsMap,
                                      java.util.Locale locale)
    • Method Detail

      • generateLabel

        public java.lang.String generateLabel​(org.jfree.data.category.CategoryDataset dataset,
                                              int series,
                                              int category)
        Specified by:
        generateLabel in interface org.jfree.chart.labels.CategoryItemLabelGenerator
        Overrides:
        generateLabel in class org.jfree.chart.labels.StandardCategoryItemLabelGenerator