public class PieLabelDistributor extends AbstractPieLabelDistributor
Constructor and Description |
---|
PieLabelDistributor(int labelCount)
Creates a new distributor.
|
Modifier and Type | Method and Description |
---|---|
void |
distributeLabels(double minY,
double height)
Distributes the labels.
|
void |
sort()
Sorts the label records into ascending order by y-value.
|
String |
toString()
Returns a string containing a description of the object for
debugging purposes.
|
addPieLabelRecord, clear, getItemCount, getPieLabelRecord
public PieLabelDistributor(int labelCount)
labelCount
- the number of labels (ignored).public void distributeLabels(double minY, double height)
distributeLabels
in class AbstractPieLabelDistributor
minY
- the minimum y-coordinate in Java2D-space.height
- the available height (in Java2D units).public void sort()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics