PlotRenderingInfo
org.jfree.chart.plot

Class PlotRenderingInfo

    • Constructor Detail

      • PlotRenderingInfo

        public PlotRenderingInfo(ChartRenderingInfo owner)
        Creates a new instance.
        Parameters:
        owner - the owner (null permitted).
    • Method Detail

      • getOwner

        public ChartRenderingInfo getOwner()
        Returns the owner (as specified in the constructor).
        Returns:
        The owner (possibly null).
      • setPlotArea

        public void setPlotArea(Rectangle2D area)
        Sets the plot area.
        Parameters:
        area - the plot area (in Java2D space, null permitted but discouraged)
        See Also:
        getPlotArea()
      • setDataArea

        public void setDataArea(Rectangle2D area)
        Sets the data area.
        Parameters:
        area - the data area (in Java2D space, null permitted but discouraged).
        See Also:
        getDataArea()
      • getSubplotCount

        public int getSubplotCount()
        Returns the number of subplots (possibly zero).
        Returns:
        The subplot count.
      • getSubplotIndex

        public int getSubplotIndex(Point2D source)
        Returns the index of the subplot that contains the specified (x, y) point (the "source" point). The source point will usually come from a mouse click on a ChartPanel, and this method is then used to determine the subplot that contains the source point.
        Parameters:
        source - the source point (in Java2D space, null not permitted).
        Returns:
        The subplot index (or -1 if no subplot contains source).
      • 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.

SCaVis 2.0 © jWork.ORG