org.jfree.chart.labels
Class AbstractPieItemLabelGenerator
- java.lang.Object
-
- org.jfree.chart.labels.AbstractPieItemLabelGenerator
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- StandardPieSectionLabelGenerator, StandardPieToolTipGenerator
public class AbstractPieItemLabelGenerator extends java.lang.Object implements java.io.SerializableA base class used for generating pie chart item labels.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Objectclone()Returns an independent copy of the generator.booleanequals(java.lang.Object obj)Tests the generator for equality with an arbitrary object.java.lang.StringgetLabelFormat()Returns the label format string.java.text.NumberFormatgetNumberFormat()Returns the number formatter.java.text.NumberFormatgetPercentFormat()Returns the percent formatter.inthashCode()Returns a hash code for this instance.
-
-
-
Method Detail
-
getLabelFormat
public java.lang.String getLabelFormat()
Returns the label format string.- Returns:
- The label format string (never
null).
-
getNumberFormat
public java.text.NumberFormat getNumberFormat()
Returns the number formatter.- Returns:
- The formatter (never
null).
-
getPercentFormat
public java.text.NumberFormat getPercentFormat()
Returns the percent formatter.- Returns:
- The formatter (never
null).
-
equals
public boolean equals(java.lang.Object obj)
Tests the generator for equality with an arbitrary object.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the object to test against (nullpermitted).- Returns:
- A boolean.
-
hashCode
public int hashCode()
Returns a hash code for this instance.- Overrides:
hashCodein classjava.lang.Object- Returns:
- A hash code.
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionReturns an independent copy of the generator.- Overrides:
clonein classjava.lang.Object- Returns:
- A clone.
- Throws:
java.lang.CloneNotSupportedException- should not happen.
-
-
DMelt 3.0 © DataMelt by jWork.ORG