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 void
addSubplotInfo(PlotRenderingInfo info)
Adds the info for a subplot.Object
clone()
Returns a clone of this object.boolean
equals(Object obj)
Tests this instance for equality against an arbitrary object.Rectangle2D
getDataArea()
Returns the plot's data area (in Java2D space).ChartRenderingInfo
getOwner()
Returns the owner.Rectangle2D
getPlotArea()
Returns the plot area (in Java2D space).PlotRenderingInfo
getSubplotInfo(int index)
Returns the info for a subplot.void
setDataArea(Rectangle2D area)
Sets the data area.void
setPlotArea(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.
-