Save This Page
Home » jcommon-1.0.13 » org.jfree » chart » [javadoc | source]
org.jfree.chart
public class: ChartRenderingInfo [javadoc | source]
java.lang.Object
   org.jfree.chart.ChartRenderingInfo

All Implemented Interfaces:
    Cloneable, Serializable

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.
Constructor:
 public ChartRenderingInfo() 
 public ChartRenderingInfo(EntityCollection entities) 
    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.
    Parameters:
    entities - an entity collection (null permitted).
Method from org.jfree.chart.ChartRenderingInfo Summary:
clear,   clone,   equals,   getChartArea,   getEntityCollection,   getPlotInfo,   setChartArea,   setEntityCollection
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.chart.ChartRenderingInfo Detail:
 public  void clear() 
    Clears the information recorded by this object.
 public Object clone() throws CloneNotSupportedException 
    Returns a clone of this object.
 public boolean equals(Object obj) 
    Tests this object for equality with an arbitrary object.
 public Rectangle2D getChartArea() 
    Returns the area in which the chart was drawn.
 public EntityCollection getEntityCollection() 
    Returns the collection of entities maintained by this instance.
 public PlotRenderingInfo getPlotInfo() 
    Returns the rendering info for the chart's plot.
 public  void setChartArea(Rectangle2D area) 
    Sets the area in which the chart was drawn.
 public  void setEntityCollection(EntityCollection entities) 
    Sets the entity collection.