Save This Page
Home » jcommon-1.0.13 » org.jfree » chart » labels » [javadoc | source]
org.jfree.chart.labels
public class: StandardCategoryLabelGenerator [javadoc | source]
java.lang.Object
   org.jfree.chart.labels.AbstractCategoryItemLabelGenerator
      org.jfree.chart.labels.StandardCategoryLabelGenerator

All Implemented Interfaces:
    PublicCloneable, Cloneable, CategoryLabelGenerator, Serializable

Direct Known Subclasses:
    IntervalCategoryLabelGenerator

A standard label generator that can be used with a org.jfree.chart.renderer.category.CategoryItemRenderer .
Field Summary
public static final  String DEFAULT_LABEL_FORMAT_STRING    The default format string. 
Constructor:
 public StandardCategoryLabelGenerator() 
 public StandardCategoryLabelGenerator(String labelFormat,
    NumberFormat formatter) 
    Creates a new generator with the specified number formatter.
    Parameters:
    labelFormat - the label format string (null not permitted).
    formatter - the number formatter (null not permitted).
 public StandardCategoryLabelGenerator(String labelFormat,
    DateFormat formatter) 
    Creates a new generator with the specified date formatter.
    Parameters:
    labelFormat - the label format string (null not permitted).
    formatter - the date formatter (null not permitted).
Method from org.jfree.chart.labels.StandardCategoryLabelGenerator Summary:
generateLabel
Methods from org.jfree.chart.labels.AbstractCategoryItemLabelGenerator:
clone,   createItemArray,   equals,   generateColumnLabel,   generateLabelString,   generateRowLabel,   getDateFormat,   getLabelFormat,   getNumberFormat,   hashCode
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.chart.labels.StandardCategoryLabelGenerator Detail:
 public String generateLabel(CategoryDataset dataset,
    int row,
    int column) 
    Generates the label for an item in a dataset. Note: in the current dataset implementation, each row is a series, and each column contains values for a particular category.