|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.plot.PlotRenderingInfo
public class PlotRenderingInfo
Stores information about the dimensions of a plot and its subplots.
Constructor Summary | |
---|---|
PlotRenderingInfo(ChartRenderingInfo owner)
Creates a new instance. |
Method Summary | |
---|---|
void |
addSubplotInfo(PlotRenderingInfo info)
Adds the info for a subplot. |
java.lang.Object |
clone()
Returns a clone of this object. |
boolean |
equals(java.lang.Object obj)
Tests this instance for equality against an arbitrary object. |
java.awt.geom.Rectangle2D |
getDataArea()
Returns the plot's data area (in Java2D space). |
ChartRenderingInfo |
getOwner()
Returns the owner (as specified in the constructor). |
java.awt.geom.Rectangle2D |
getPlotArea()
Returns the plot area (in Java2D space). |
int |
getSubplotCount()
Returns the number of subplots (possibly zero). |
int |
getSubplotIndex(java.awt.geom.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(java.awt.geom.Rectangle2D area)
Sets the data area. |
void |
setPlotArea(java.awt.geom.Rectangle2D area)
Sets the plot area. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlotRenderingInfo(ChartRenderingInfo owner)
owner
- the owner (null
permitted).Method Detail |
---|
public ChartRenderingInfo getOwner()
null
).public java.awt.geom.Rectangle2D getPlotArea()
null
).setPlotArea(Rectangle2D)
public void setPlotArea(java.awt.geom.Rectangle2D area)
area
- the plot area (in Java2D space, null
permitted but discouraged)getPlotArea()
public java.awt.geom.Rectangle2D getDataArea()
null
).setDataArea(Rectangle2D)
public void setDataArea(java.awt.geom.Rectangle2D area)
area
- the data area (in Java2D space, null
permitted
but discouraged).getDataArea()
public int getSubplotCount()
public void addSubplotInfo(PlotRenderingInfo info)
info
- the subplot info.getSubplotInfo(int)
public PlotRenderingInfo getSubplotInfo(int index)
index
- the subplot index.
addSubplotInfo(PlotRenderingInfo)
public int getSubplotIndex(java.awt.geom.Point2D source)
ChartPanel
,
and this method is then used to determine the subplot that
contains the source point.
source
- the source point (in Java2D space, null
not
permitted).
source
).public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object (null
permitted).
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if there is a problem cloning.
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |