Package org.jfree.chart.plot
Class PlotRenderingInfo
java.lang.Object
org.jfree.chart.plot.PlotRenderingInfo
- All Implemented Interfaces:
Serializable,Cloneable
public class PlotRenderingInfo extends Object implements Cloneable, Serializable
Stores information about the dimensions of a plot and its subplots.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PlotRenderingInfo(ChartRenderingInfo owner)Default constructor. -
Method Summary
Modifier and Type Method Description voidaddSubplotInfo(PlotRenderingInfo info)Adds the info for a subplot.Objectclone()Returns a clone of this object.booleanequals(Object obj)Tests this instance for equality against an arbitrary object.Rectangle2DgetDataArea()Returns the plot's data area (in Java2D space).ChartRenderingInfogetOwner()Returns the owner.Rectangle2DgetPlotArea()Returns the plot area (in Java2D space).PlotRenderingInfogetSubplotInfo(int index)Returns the info for a subplot.voidsetDataArea(Rectangle2D area)Sets the data area.voidsetPlotArea(Rectangle2D area)Sets the plot area.
-
Constructor Details
-
PlotRenderingInfo
Default constructor.- Parameters:
owner- the owner.
-
-
Method Details
-
getOwner
Returns the owner.- Returns:
- The owner.
-
getPlotArea
Returns the plot area (in Java2D space).- Returns:
- The plot area.
-
setPlotArea
Sets the plot area.- Parameters:
area- the plot area (in Java2D space)
-
getDataArea
Returns the plot's data area (in Java2D space).- Returns:
- The data area.
-
setDataArea
Sets the data area.- Parameters:
area- the data area (in Java2D space).
-
addSubplotInfo
Adds the info for a subplot.- Parameters:
info- the subplot info.
-
getSubplotInfo
Returns the info for a subplot.- Parameters:
index- the subplot index.- Returns:
- The info.
-
equals
Tests this instance for equality against an arbitrary object. -
clone
Returns a clone of this object.- Returns:
- A clone.
- Throws:
CloneNotSupportedException- if there is a problem cloning.
-