|
||||||||||
| 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. |
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. |
| 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 Rectangle2D getPlotArea()
null).setPlotArea(Rectangle2D)public void setPlotArea(Rectangle2D area)
area - the plot area (in Java2D space, null
permitted but discouraged)getPlotArea()public Rectangle2D getDataArea()
null).setDataArea(Rectangle2D)public void setDataArea(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(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(Object obj)
equals in class Objectobj - the object (null permitted).
public Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException - if there is a problem cloning.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||