org.jfree.chart.plot
public abstract class AbstractPieLabelDistributor extends Object implements Serializable
Field Summary | |
---|---|
protected List | labels The label records. |
Constructor Summary | |
---|---|
AbstractPieLabelDistributor()
Creates a new instance. |
Method Summary | |
---|---|
void | addPieLabelRecord(PieLabelRecord record)
Adds a label record.
|
void | clear()
Clears the list of labels. |
abstract void | distributeLabels(double minY, double height)
Called by the PiePlot class. |
int | getItemCount()
Returns the number of items in the list.
|
PieLabelRecord | getPieLabelRecord(int index)
Returns a label record from the list.
|
Parameters: record the label record (null
not permitted).
Parameters: minY the y-coordinate for the top of the label area. height the height of the label area.
Returns: The item count.
Parameters: index the index.
Returns: The label record.