Module org.jfree.chart3d
Package org.jfree.chart3d.label
Interface CategoryLabelGenerator<S extends Comparable<S>,R extends Comparable<R>,C extends Comparable<C>>
- Type Parameters:
S- The series key type (must implement Comparable).R- The row key type (must implement Comparable).C- The column key type (must implement Comparable).
- All Known Implementing Classes:
StandardCategoryLabelGenerator
public interface CategoryLabelGenerator<S extends Comparable<S>,R extends Comparable<R>,C extends Comparable<C>>
A label generator for category charts, used to create labels for the axes
and for the chart legend. The (
Note that a different generator is used for item labels in a
StandardCategoryLabelGenerator) class
provides the default implementation.
Note that a different generator is used for item labels in a
CategoryPlot3D - see the CategoryItemLabelGenerator
interface.- Since:
- 1.2
-
Method Summary
Modifier and TypeMethodDescriptiongenerateColumnLabel(CategoryDataset3D<S, R, C> dataset, C columnKey) Generates a label for one column in aCategoryDataset3D.generateRowLabel(CategoryDataset3D<S, R, C> dataset, R rowKey) Generates a label for one row in aCategoryDataset3D.generateSeriesLabel(CategoryDataset3D<S, R, C> dataset, S seriesKey) Generates a label for one series in aCategoryDataset3D.
-
Method Details
-
generateSeriesLabel
Generates a label for one series in aCategoryDataset3D.- Parameters:
dataset- the dataset (nullnot permitted).seriesKey- the series key (nullnot permitted).- Returns:
- The series label (possibly
null).
-
generateRowLabel
Generates a label for one row in aCategoryDataset3D.- Parameters:
dataset- the dataset (nullnot permitted).rowKey- the key (nullnot permitted).- Returns:
- The row label (possibly
null).
-
generateColumnLabel
Generates a label for one column in aCategoryDataset3D.- Parameters:
dataset- the dataset (nullnot permitted).columnKey- the key (nullnot permitted).- Returns:
- The column label (possibly
null).
-