org.jfree.chart.plot
public class PlotRenderingInfo extends Object implements Cloneable, Serializable
| Constructor Summary | |
|---|---|
| PlotRenderingInfo(ChartRenderingInfo owner)
Creates a new instance.
| |
| Method Summary | |
|---|---|
| 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 (as specified in the constructor).
|
| Rectangle2D | getPlotArea()
Returns the plot area (in Java2D space).
|
| int | getSubplotCount()
Returns the number of subplots (possibly zero).
|
| int | getSubplotIndex(Point2D source)
Returns the index of the subplot that contains the specified
(x, y) point (the "source" point). |
| 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.
|
Parameters: owner the owner (null permitted).
Parameters: info the subplot info.
See Also: PlotRenderingInfo
Returns: A clone.
Throws: CloneNotSupportedException if there is a problem cloning.
Parameters: obj the object (null permitted).
Returns: A boolean.
Returns: The data area (possibly null).
See Also: setDataArea
Returns: The owner (possibly null).
Returns: The plot area (possibly null).
See Also: setPlotArea
Returns: The subplot count.
Parameters: source the source point (in Java2D space, null not
permitted).
Returns: The subplot index (or -1 if no subplot contains
source).
Parameters: index the subplot index.
Returns: The info.
See Also: addSubplotInfo
Parameters: area the data area (in Java2D space, null permitted
but discouraged).
See Also: getDataArea
Parameters: area the plot area (in Java2D space, null
permitted but discouraged)
See Also: getPlotArea