java.lang.Object | |
↳ | org.jfree.chart.plot.PieLabelRecord |
A structure that retains information about the label for a section in a pie chart.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new record.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Compares this object to an arbitrary object.
| |||||||||||
Tests this record for equality with an arbitrary object.
| |||||||||||
Returns the allocated y-coordinate.
| |||||||||||
Returns the angle of the middle of the section, in radians.
| |||||||||||
Returns the base y-coordinate.
| |||||||||||
Returns the gap.
| |||||||||||
Returns the key for the section that the label applies to.
| |||||||||||
Returns the label.
| |||||||||||
Returns the label height (you could derive this from the label itself,
but we cache the value so it can be retrieved quickly).
| |||||||||||
Returns the link percent.
| |||||||||||
Returns the lower bound of the label.
| |||||||||||
Returns the upper bound of the label.
| |||||||||||
Sets the allocated y-coordinate.
| |||||||||||
Sets the base y-coordinate.
| |||||||||||
Returns a string describing the object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a new record.
key | the section key. |
---|---|
angle | the angle to the middle of the section (in radians). |
baseY | the base y-coordinate. |
label | the section label. |
labelHeight | the label height (in Java2D units). |
gap | the offset to the left. |
linkPercent | the link percent. |
Compares this object to an arbitrary object.
obj | the object to compare against. |
---|
Tests this record for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns the allocated y-coordinate.
Returns the angle of the middle of the section, in radians.
Returns the base y-coordinate. This is where the label will appear if there is no overlapping of labels.
Returns the gap.
Returns the key for the section that the label applies to.
Returns the label.
Returns the label height (you could derive this from the label itself, but we cache the value so it can be retrieved quickly).
Returns the link percent.
Returns the lower bound of the label.
Returns the upper bound of the label.
Sets the allocated y-coordinate.
y | the y-coordinate. |
---|
Sets the base y-coordinate.
base | the base y-coordinate. |
---|
Returns a string describing the object. This is used for debugging only.