org.jfree.chart.plot
public class PiePlotState extends RendererState
Constructor Summary | |
---|---|
PiePlotState(PlotRenderingInfo info)
Creates a new object for recording temporary state information for a
renderer.
|
Method Summary | |
---|---|
Rectangle2D | getExplodedPieArea()
Returns the exploded pie area.
|
double | getLatestAngle()
Returns the latest angle.
|
Rectangle2D | getLinkArea()
Returns the link area. |
int | getPassesRequired()
Returns the number of passes required by the renderer.
|
Rectangle2D | getPieArea()
Returns the pie area.
|
double | getPieCenterX()
Returns the x-coordinate of the center of the pie chart.
|
double | getPieCenterY()
Returns the y-coordinate (in Java2D space) of the center of the pie
chart. |
double | getPieHRadius()
Returns the vertical pie radius.
|
double | getPieWRadius()
Returns the horizontal pie radius.
|
double | getTotal()
Returns the total of the values in the dataset.
|
void | setExplodedPieArea(Rectangle2D area)
Sets the exploded pie area.
|
void | setLatestAngle(double angle)
Sets the latest angle.
|
void | setLinkArea(Rectangle2D area)
Sets the label link area. |
void | setPassesRequired(int passes)
Sets the number of passes required by the renderer.
|
void | setPieArea(Rectangle2D area)
Sets the pie area.
|
void | setPieCenterX(double x)
Sets the x-coordinate of the center of the pie chart.
|
void | setPieCenterY(double y)
Sets the y-coordinate of the center of the pie chart. |
void | setPieHRadius(double radius)
Sets the vertical pie radius.
|
void | setPieWRadius(double radius)
Sets the horizontal pie radius.
|
void | setTotal(double total)
Sets the total.
|
Parameters: info the plot rendering info.
Returns: The exploded pie area.
Returns: The latest angle.
Returns: The link area.
Returns: The number of passes.
Returns: The pie area.
Returns: The x-coordinate (in Java2D space).
Returns: The y-coordinate (in Java2D space).
Returns: The radius.
Returns: The radius.
Returns: The total.
Parameters: area the area.
Parameters: angle the angle.
Parameters: area the area.
Parameters: passes the passes.
Parameters: area the area.
Parameters: x the x-coordinate (in Java2D space).
Parameters: y the y-coordinate (in Java2D space).
Parameters: radius the radius.
Parameters: radius the radius.
Parameters: total the total.