public interface CategoryItemLabelGenerator
CategoryItemRenderer
and that
assumes responsibility for creating text items to be used as labels for the
items in a CategoryPlot
.
To assist with cloning charts, classes that implement this interface should
also implement the PublicCloneable
interface.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateColumnLabel(CategoryDataset dataset,
int column)
Generates a label for the specified row.
|
java.lang.String |
generateLabel(CategoryDataset dataset,
int row,
int column)
Generates a label for the specified item.
|
java.lang.String |
generateRowLabel(CategoryDataset dataset,
int row)
Generates a label for the specified row.
|
java.lang.String generateRowLabel(CategoryDataset dataset, int row)
dataset
- the dataset (null
not permitted).row
- the row index (zero-based).java.lang.String generateColumnLabel(CategoryDataset dataset, int column)
dataset
- the dataset (null
not permitted).column
- the column index (zero-based).java.lang.String generateLabel(CategoryDataset dataset, int row, int column)
dataset
- the dataset (null
not permitted).row
- the row index (zero-based).column
- the column index (zero-based).null
).