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 Object
clone()
Returns an independent copy of the generator.boolean
equals(Object obj)
Tests this object for equality with an arbitrary object.DateFormat
getDateFormat()
Returns the date formatter.String
getLabelFormat()
Returns the label format string.NumberFormat
getNumberFormat()
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:
clone
in interfaceorg.jfree.util.PublicCloneable
- Returns:
- A clone.
- Throws:
CloneNotSupportedException
- should not happen.
-