org.jfree.chart.plot
public class PieLabelRecord extends Object implements Comparable
Constructor Summary | |
---|---|
PieLabelRecord(Comparable key, double angle, double baseY, TextBox label, double labelHeight, double gap, double linkPercent)
Creates a new record.
|
Method Summary | |
---|---|
int | compareTo(Object obj)
Compares this object to an arbitrary object.
|
double | getAllocatedY()
Returns the allocated y-coordinate.
|
double | getAngle()
Returns the angle.
|
double | getBaseY()
Returns the base y-coordinate. |
double | getGap()
Returns the gap.
|
Comparable | getKey()
Returns the key for the section that the label applies to.
|
TextBox | getLabel()
Returns the label.
|
double | getLabelHeight()
Returns the label height.
|
double | getLinkPercent()
Returns the link percent.
|
double | getLowerY()
Returns the lower bound of the label.
|
double | getUpperY()
Returns the upper bound of the label.
|
void | setAllocatedY(double y)
Sets the allocated y-coordinate.
|
void | setBaseY(double base)
Sets the base y-coordinate.
|
String | toString()
Returns a string describing the object. |
Parameters: key the key. angle the angle. baseY the base y-coordinate. label the label. labelHeight the label height (in Java2D units). gap the gap. linkPercent the link percent.
Parameters: obj the object to compare against.
Returns: An integer that specifies the relative order of the two objects.
Returns: The allocated y-coordinate.
Returns: The angle.
Returns: The base y-coordinate.
Returns: The gap.
Returns: The key.
Returns: The label.
Returns: The label height (in Java2D units).
Returns: The link percent.
Returns: The lower bound.
Returns: The upper bound.
Parameters: y the y-coordinate.
Parameters: base the base y-coordinate.
Returns: A string.