org.apache.poi.hslf.model
Class ShapeFactory

java.lang.Object
  extended by org.apache.poi.hslf.model.ShapeFactory

public final class ShapeFactory
extends java.lang.Object

Create a Shape object depending on its type

Author:
Yegor Kozlov

Constructor Summary
ShapeFactory()
           
 
Method Summary
static Shape createShape(org.apache.poi.ddf.EscherContainerRecord spContainer, Shape parent)
          Create a new shape from the data provided.
static ShapeGroup createShapeGroup(org.apache.poi.ddf.EscherContainerRecord spContainer, Shape parent)
           
static Shape createSimpeShape(org.apache.poi.ddf.EscherContainerRecord spContainer, Shape parent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeFactory

public ShapeFactory()
Method Detail

createShape

public static Shape createShape(org.apache.poi.ddf.EscherContainerRecord spContainer,
                                Shape parent)
Create a new shape from the data provided.


createShapeGroup

public static ShapeGroup createShapeGroup(org.apache.poi.ddf.EscherContainerRecord spContainer,
                                          Shape parent)

createSimpeShape

public static Shape createSimpeShape(org.apache.poi.ddf.EscherContainerRecord spContainer,
                                     Shape parent)