| java.lang.Object org.jfree.chart.labels.AbstractCategoryItemLabelGenerator org.jfree.chart.labels.StandardCategoryItemLabelGenerator
All known Subclasses: org.jfree.chart.labels.IntervalCategoryItemLabelGenerator,
Method Summary | |
public boolean | equals(Object obj) Tests this generator for equality with an arbitrary object.
Parameters: obj - the object (null permitted). | public String | generateLabel(CategoryDataset dataset, int row, int column) Generates the label for an item in a dataset. |
DEFAULT_LABEL_FORMAT_STRING | final public static String DEFAULT_LABEL_FORMAT_STRING(Code) | | The default format string.
|
StandardCategoryItemLabelGenerator | public StandardCategoryItemLabelGenerator()(Code) | | Creates a new generator with a default number formatter.
|
StandardCategoryItemLabelGenerator | public StandardCategoryItemLabelGenerator(String labelFormat, NumberFormat formatter)(Code) | | Creates a new generator with the specified number formatter.
Parameters: labelFormat - the label format string (null not permitted). Parameters: formatter - the number formatter (null not permitted). |
StandardCategoryItemLabelGenerator | public StandardCategoryItemLabelGenerator(String labelFormat, NumberFormat formatter, NumberFormat percentFormatter)(Code) | | Creates a new generator with the specified number formatter.
Parameters: labelFormat - the label format string (null not permitted). Parameters: formatter - the number formatter (null not permitted). Parameters: percentFormatter - the percent formatter (null notpermitted). since: 1.0.2 |
StandardCategoryItemLabelGenerator | public StandardCategoryItemLabelGenerator(String labelFormat, DateFormat formatter)(Code) | | Creates a new generator with the specified date formatter.
Parameters: labelFormat - the label format string (null not permitted). Parameters: formatter - the date formatter (null not permitted). |
equals | public boolean equals(Object obj)(Code) | | Tests this generator for equality with an arbitrary object.
Parameters: obj - the object (null permitted). true if this generator is equal to obj , and false otherwise. |
generateLabel | public String generateLabel(CategoryDataset dataset, int row, int column)(Code) | | 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.
Parameters: dataset - the dataset (null not permitted). Parameters: row - the row index (zero-based). Parameters: column - the column index (zero-based). The label (possibly null ). |
|
|