org.pentaho.chart.plugin.jfreechart.utils
Class ShapeFactory

java.lang.Object
  extended by org.pentaho.chart.plugin.jfreechart.utils.ShapeFactory

public class ShapeFactory
extends Object

This class provides a Shape object base on the element data. Author: William Seyler Date: May 15, 2008 Time: 3:18:40 PM


Method Summary
 Object clone()
          Overriding Object class's clone method so that clone() is not supported.
static ShapeFactory getInstance()
          Returns a singleton StrokeFactory object.
 Shape getShape(ChartElement element)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ShapeFactory getInstance()
Returns a singleton StrokeFactory object.

Returns:
StrokeFactory Returns a singleton object of this class.

clone

public Object clone()
             throws CloneNotSupportedException
Overriding Object class's clone method so that clone() is not supported.

Overrides:
clone in class Object
Returns:
Throws CloneNotSupportedException and returns nothing.
Throws:
CloneNotSupportedException

getShape

public Shape getShape(ChartElement element)