Package org.jfree.chart.labels
Class IntervalCategoryLabelGenerator
java.lang.Object
org.jfree.chart.labels.AbstractCategoryItemLabelGenerator
org.jfree.chart.labels.StandardCategoryLabelGenerator
org.jfree.chart.labels.IntervalCategoryLabelGenerator
- All Implemented Interfaces:
Serializable
,Cloneable
,CategoryLabelGenerator
,org.jfree.util.PublicCloneable
public class IntervalCategoryLabelGenerator extends StandardCategoryLabelGenerator implements CategoryLabelGenerator, org.jfree.util.PublicCloneable, Cloneable, Serializable
A label generator for plots that use data from an
IntervalCategoryDataset
.- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_LABEL_FORMAT_STRING
The default format string. -
Constructor Summary
Constructors Constructor Description IntervalCategoryLabelGenerator()
Creates a new generator with a default number formatter.IntervalCategoryLabelGenerator(String labelFormat, DateFormat formatter)
Creates a new generator with the specified date formatter.IntervalCategoryLabelGenerator(String labelFormat, NumberFormat formatter)
Creates a new generator with the specified number formatter. -
Method Summary
Methods inherited from class org.jfree.chart.labels.StandardCategoryLabelGenerator
generateLabel
Methods inherited from class org.jfree.chart.labels.AbstractCategoryItemLabelGenerator
clone, equals, getDateFormat, getLabelFormat, getNumberFormat
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jfree.chart.labels.CategoryLabelGenerator
generateLabel
Methods inherited from interface org.jfree.util.PublicCloneable
clone
-
Field Details
-
DEFAULT_LABEL_FORMAT_STRING
The default format string.- See Also:
- Constant Field Values
-
-
Constructor Details
-
IntervalCategoryLabelGenerator
public IntervalCategoryLabelGenerator()Creates a new generator with a default number formatter. -
IntervalCategoryLabelGenerator
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).
-
IntervalCategoryLabelGenerator
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).
-