Class DefaultShapeFactory

java.lang.Object
org.jfree.chart.DefaultShapeFactory
All Implemented Interfaces:
ShapeFactory

public class DefaultShapeFactory
extends Object
implements ShapeFactory
Deprecated.
No longer used. Shapes are supplied by the DrawingSupplier if necessary.
Default provider of shapes for indicating data points on a Plot.
Author:
Jeremy Bowman
  • Constructor Summary

    Constructors
    Constructor Description
    DefaultShapeFactory()
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    Shape getShape​(int series, int item, double x, double y, double scale)
    Deprecated.
    Returns a Shape that can be used in plotting data.
    Shape getShape​(int series, Object category, double x, double y, double scale)
    Deprecated.
    Returns a Shape that can be used in plotting data.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultShapeFactory

      public DefaultShapeFactory()
      Deprecated.
  • Method Details

    • getShape

      public Shape getShape​(int series, int item, double x, double y, double scale)
      Deprecated.
      Returns a Shape that can be used in plotting data. Used in XYPlots.
      Specified by:
      getShape in interface ShapeFactory
      Parameters:
      series - number of series.
      item - index of the item. Not used, i.e. redundant..
      x - the centered x position of the shape.
      y - the centered y position of the shape.
      scale - the size of the shape (width and height, radius).
      Returns:
      a square for series == 0, a circle otherwise.
    • getShape

      public Shape getShape​(int series, Object category, double x, double y, double scale)
      Deprecated.
      Returns a Shape that can be used in plotting data. Used in CategoryPlots.
      Specified by:
      getShape in interface ShapeFactory
      Parameters:
      series - number of series. Not used, i.e. redundant.
      category - the category. Not used, i.e. redundant.
      x - the centered x position of the shape.
      y - the centered y position of the shape.
      scale - the size of the shape (width and height, radius).
      Returns:
      a circle with the radius scale centered at (x,y).