| java.lang.Object | |
| ↳ | org.jfree.chart.plot.AbstractPieLabelDistributor |
Known Direct Subclasses
|
A base class for handling the distribution of pie section labels. Create
your own subclass and set it using the
setLabelDistributor(AbstractPieLabelDistributor) method
if you want to customise the label distribution.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| labels | The label records. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds a label record.
| |||||||||||
Clears the list of labels.
| |||||||||||
Called by the
PiePlot class. | |||||||||||
Returns the number of items in the list.
| |||||||||||
Returns a label record from the list.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a new instance.
Adds a label record.
| record | the label record (null not permitted).
|
|---|
Clears the list of labels.
Called by the PiePlot class. Implementations should distribute
the labels in this.labels then return.
| minY | the y-coordinate for the top of the label area. |
|---|---|
| height | the height of the label area. |
Returns the number of items in the list.
Returns a label record from the list.
| index | the index. |
|---|