Package org.jfree.chart.labels
Class AbstractCategoryItemLabelGenerator
java.lang.Object
org.jfree.chart.labels.AbstractCategoryItemLabelGenerator
- All Implemented Interfaces:
Serializable,Cloneable,org.jfree.util.PublicCloneable
- Direct Known Subclasses:
StandardCategoryLabelGenerator,StandardCategoryToolTipGenerator
public abstract class AbstractCategoryItemLabelGenerator extends Object implements org.jfree.util.PublicCloneable, Cloneable, Serializable
A base class that can be used to create a label or tooltip generator that can
be assigned to a
CategoryItemRenderer.- See Also:
- Serialized Form
-
Method Summary
Modifier and Type Method Description Objectclone()Returns an independent copy of the generator.booleanequals(Object obj)Tests this object for equality with an arbitrary object.DateFormatgetDateFormat()Returns the date formatter.StringgetLabelFormat()Returns the label format string.NumberFormatgetNumberFormat()Returns the number formatter.
-
Method Details
-
getLabelFormat
Returns the label format string.- Returns:
- The label format string (never
null).
-
getNumberFormat
Returns the number formatter.- Returns:
- The number formatter (possibly
null).
-
getDateFormat
Returns the date formatter.- Returns:
- The date formatter (possibly
null).
-
equals
Tests this object for equality with an arbitrary object. -
clone
Returns an independent copy of the generator.- Specified by:
clonein interfaceorg.jfree.util.PublicCloneable- Returns:
- A clone.
- Throws:
CloneNotSupportedException- should not happen.
-