com.hp.hpl.guess.ui
Class ShapeDB

java.lang.Object
  extended bycom.hp.hpl.guess.ui.ShapeDB

public class ShapeDB
extends Object


Field Summary
 HashMap idToShape
           
static ShapeDB singleton
           
 
Constructor Summary
ShapeDB()
           
 
Method Summary
 void addShape(int styleid, Shape shape)
           
 Shape getShape(int styleid)
           
static ShapeDB getShapeDB()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

singleton

public static ShapeDB singleton

idToShape

public HashMap idToShape
Constructor Detail

ShapeDB

public ShapeDB()
Method Detail

getShapeDB

public static ShapeDB getShapeDB()

addShape

public void addShape(int styleid,
                     Shape shape)

getShape

public Shape getShape(int styleid)