java.lang.Object | |
↳ | org.jfree.chart.ChartRenderingInfo |
A structure for storing rendering information from one call to the JFreeChart.draw() method.
An instance of the JFreeChart
class can draw itself within an
arbitrary rectangle on any Graphics2D
. It is assumed that
client code will sometimes render the same chart in more than one view, so
the JFreeChart
instance does not retain any information about its
rendered dimensions. This information can be useful sometimes, so you have
the option to collect the information at each call to
JFreeChart.draw()
, by passing an instance of this
ChartRenderingInfo
class.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new ChartRenderingInfo structure that can be used to
collect information about the dimensions of a rendered chart.
| |||||||||||
Constructs a new instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clears the information recorded by this object.
| |||||||||||
Returns a clone of this object.
| |||||||||||
Tests this object for equality with an arbitrary object.
| |||||||||||
Returns the area in which the chart was drawn.
| |||||||||||
Returns the collection of entities maintained by this instance.
| |||||||||||
Returns the rendering info for the chart's plot.
| |||||||||||
Sets the area in which the chart was drawn.
| |||||||||||
Sets the entity collection.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructs a new ChartRenderingInfo structure that can be used to collect information about the dimensions of a rendered chart.
Constructs a new instance. If an entity collection is supplied, it will
be populated with information about the entities in a chart. If it is
null
, no entity information (including tool tips) will
be collected.
entities | an entity collection (null permitted).
|
---|
Clears the information recorded by this object.
Returns a clone of this object.
CloneNotSupportedException | if the object cannot be cloned. |
---|
Tests this object for equality with an arbitrary object.
obj | the object to test against (null permitted). |
---|
Returns the area in which the chart was drawn.
Returns the collection of entities maintained by this instance.
null
).Returns the rendering info for the chart's plot.
Sets the entity collection.
entities | the entity collection (null permitted). |
---|