Class PlotRenderingInfo

java.lang.Object
org.jfree.chart.plot.PlotRenderingInfo
All Implemented Interfaces:
Serializable, Cloneable

public class PlotRenderingInfo
extends Object
implements Cloneable, Serializable
Stores information about the dimensions of a plot and its subplots.
See Also:
Serialized Form
  • Constructor Details

    • PlotRenderingInfo

      public PlotRenderingInfo​(ChartRenderingInfo owner)
      Default constructor.
      Parameters:
      owner - the owner.
  • Method Details

    • getOwner

      public ChartRenderingInfo getOwner()
      Returns the owner.
      Returns:
      The owner.
    • getPlotArea

      public Rectangle2D getPlotArea()
      Returns the plot area (in Java2D space).
      Returns:
      The plot area.
    • setPlotArea

      public void setPlotArea​(Rectangle2D area)
      Sets the plot area.
      Parameters:
      area - the plot area (in Java2D space)
    • getDataArea

      public Rectangle2D getDataArea()
      Returns the plot's data area (in Java2D space).
      Returns:
      The data area.
    • setDataArea

      public void setDataArea​(Rectangle2D area)
      Sets the data area.
      Parameters:
      area - the data area (in Java2D space).
    • addSubplotInfo

      public void addSubplotInfo​(PlotRenderingInfo info)
      Adds the info for a subplot.
      Parameters:
      info - the subplot info.
    • getSubplotInfo

      public PlotRenderingInfo getSubplotInfo​(int index)
      Returns the info for a subplot.
      Parameters:
      index - the subplot index.
      Returns:
      The info.
    • equals

      public boolean equals​(Object obj)
      Tests this instance for equality against an arbitrary object.
      Overrides:
      equals in class Object
      Parameters:
      obj - the object (null permitted).
      Returns:
      A boolean.
    • clone

      public Object clone() throws CloneNotSupportedException
      Returns a clone of this object.
      Returns:
      A clone.
      Throws:
      CloneNotSupportedException - if there is a problem cloning.