Class SeriesShapeFactory

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

public class SeriesShapeFactory
extends Object
implements ShapeFactory
Deprecated.
No longer used. Shapes are supplied by the DrawingSupplier class.
Provider of shapes for indicating data points on a Plot. This one uses a distinct shape for each series, looping if it exhausts the possibilities.
Author:
Jeremy Bowman
  • Constructor Summary

    Constructors
    Constructor Description
    SeriesShapeFactory()
    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

    • SeriesShapeFactory

      public SeriesShapeFactory()
      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 - the index of the series.
      item - the index of the item.
      x - x-coordinate of the item.
      y - y-coordinate of the item.
      scale - the size.
      Returns:
      a Shape that can be used in plotting data.
    • 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 - the index of the series.
      category - the category.
      x - x-coordinate of the category.
      y - y-coordinate of the category.
      scale - the size.
      Returns:
      a Shape that can be used in plotting data.