| java.lang.Object org.jfree.chart.labels.AbstractCategoryItemLabelGenerator
All known Subclasses: org.jfree.chart.labels.StandardCategoryToolTipGenerator, org.jfree.chart.labels.StandardCategoryItemLabelGenerator,
Method Summary | |
public Object | clone() Returns an independent copy of the generator. | protected Object[] | createItemArray(CategoryDataset dataset, int row, int column) Creates the array of items that can be passed to the
MessageFormat class for creating labels.
Parameters: dataset - the dataset (null not permitted). Parameters: row - the row index (zero-based). Parameters: column - the column index (zero-based). | public boolean | equals(Object obj) Tests this object for equality with an arbitrary object.
Parameters: obj - the other object (null permitted). | public String | generateColumnLabel(CategoryDataset dataset, int column) Generates a label for the specified row.
Parameters: dataset - the dataset (null not permitted). Parameters: column - the column index (zero-based). | protected String | generateLabelString(CategoryDataset dataset, int row, int column) Generates a for the specified item.
Parameters: dataset - the dataset (null not permitted). Parameters: row - the row index (zero-based). Parameters: column - the column index (zero-based). | public String | generateRowLabel(CategoryDataset dataset, int row) Generates a label for the specified row.
Parameters: dataset - the dataset (null not permitted). Parameters: row - the row index (zero-based). | public DateFormat | getDateFormat() Returns the date formatter. | public String | getLabelFormat() Returns the label format string. | public NumberFormat | getNumberFormat() Returns the number formatter. |
AbstractCategoryItemLabelGenerator | protected AbstractCategoryItemLabelGenerator(String labelFormat, NumberFormat formatter)(Code) | | Creates a label generator with the specified number formatter.
Parameters: labelFormat - the label format string (null not permitted). Parameters: formatter - the number formatter (null not permitted). |
AbstractCategoryItemLabelGenerator | protected AbstractCategoryItemLabelGenerator(String labelFormat, NumberFormat formatter, NumberFormat percentFormatter)(Code) | | Creates a label 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 |
AbstractCategoryItemLabelGenerator | protected AbstractCategoryItemLabelGenerator(String labelFormat, DateFormat formatter)(Code) | | Creates a label generator with the specified date formatter.
Parameters: labelFormat - the label format string (null not permitted). Parameters: formatter - the date formatter (null not permitted). |
createItemArray | protected Object[] createItemArray(CategoryDataset dataset, int row, int column)(Code) | | Creates the array of items that can be passed to the
MessageFormat class for creating labels.
Parameters: dataset - the dataset (null not permitted). Parameters: row - the row index (zero-based). Parameters: column - the column index (zero-based). The items (never null ). |
equals | public boolean equals(Object obj)(Code) | | Tests this object for equality with an arbitrary object.
Parameters: obj - the other object (null permitted). A boolean. |
generateColumnLabel | public String generateColumnLabel(CategoryDataset dataset, int column)(Code) | | Generates a label for the specified row.
Parameters: dataset - the dataset (null not permitted). Parameters: column - the column index (zero-based). The label. |
generateLabelString | protected String generateLabelString(CategoryDataset dataset, int row, int column)(Code) | | Generates a for the specified item.
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 ). |
generateRowLabel | public String generateRowLabel(CategoryDataset dataset, int row)(Code) | | Generates a label for the specified row.
Parameters: dataset - the dataset (null not permitted). Parameters: row - the row index (zero-based). The label. |
getDateFormat | public DateFormat getDateFormat()(Code) | | Returns the date formatter.
The date formatter (possibly null ). |
getLabelFormat | public String getLabelFormat()(Code) | | Returns the label format string.
The label format string (never null ). |
getNumberFormat | public NumberFormat getNumberFormat()(Code) | | Returns the number formatter.
The number formatter (possibly null ). |
|
|