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 StringDEFAULT_LABEL_FORMAT_STRINGThe 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
generateLabelMethods inherited from class org.jfree.chart.labels.AbstractCategoryItemLabelGenerator
clone, equals, getDateFormat, getLabelFormat, getNumberFormatMethods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jfree.chart.labels.CategoryLabelGenerator
generateLabelMethods 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 (nullnot permitted).formatter- the number formatter (nullnot permitted).
-
IntervalCategoryLabelGenerator
Creates a new generator with the specified date formatter.- Parameters:
labelFormat- the label format string (nullnot permitted).formatter- the date formatter (nullnot permitted).
-