java.lang.Object | |
↳ | org.jfree.chart.labels.AbstractPieItemLabelGenerator |
![]() |
A base class used for generating pie chart item labels.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an item label generator using the specified number formatters.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns an independent copy of the generator.
| |||||||||||
Tests the generator for equality with an arbitrary object.
| |||||||||||
Returns the label format string.
| |||||||||||
Returns the number formatter.
| |||||||||||
Returns the percent formatter.
| |||||||||||
Returns a hash code for this instance.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates the array of items that can be passed to the
MessageFormat class for creating labels.
| |||||||||||
Generates a label for a pie section.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates an item label generator using the specified number formatters.
labelFormat | the label format string (null not
permitted). |
---|---|
numberFormat | the format object for the values (null
not permitted). |
percentFormat | the format object for the percentages
(null not permitted).
|
Returns an independent copy of the generator.
CloneNotSupportedException | should not happen. |
---|
Tests the generator for equality with an arbitrary object.
obj | the object to test against (null permitted). |
---|
Returns the label format string.
null
).
Returns the number formatter.
null
).
Returns the percent formatter.
null
).
Returns a hash code for this instance.
Creates the array of items that can be passed to the MessageFormat class for creating labels. The returned array contains four values:
String
;dataset | the dataset (null not permitted). |
---|---|
key | the key (null not permitted). |
null
).
Generates a label for a pie section.
dataset | the dataset (null not permitted). |
---|---|
key | the section key (null not permitted). |
null
).