edu.berkeley.guir.papier_mache.vision
Class ShapeAnalogueFactory

java.lang.Object
  extended by edu.berkeley.guir.papier_mache.assoc.DefaultAssociationFactory
      extended by edu.berkeley.guir.papier_mache.vision.ShapeAnalogueFactory
All Implemented Interfaces:
AssociationFactory, edu.berkeley.guir.lib.util.ToShortStringable

public class ShapeAnalogueFactory
extends DefaultAssociationFactory

This class generates a new electronic shape based on the parameters of a physical shape (useful for georeferenced feedback). Note: The implementation is not complete.

This software is distributed under the Berkeley Software License.

Author:
Scott Klemmer ( srk(AT)cs.berkeley.edu )

Constructor Summary
ShapeAnalogueFactory(java.awt.Component component, java.lang.Class shapeClass)
           
 
Method Summary
 AssociationElt createAssociationEltForPhob(Phob phob)
          Create an AssociationElt based on the given phob
 
Methods inherited from class edu.berkeley.guir.papier_mache.assoc.DefaultAssociationFactory
setParameter, toShortString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShapeAnalogueFactory

public ShapeAnalogueFactory(java.awt.Component component,
                            java.lang.Class shapeClass)
Method Detail

createAssociationEltForPhob

public AssociationElt createAssociationEltForPhob(Phob phob)
Description copied from interface: AssociationFactory
Create an AssociationElt based on the given phob

Specified by:
createAssociationEltForPhob in interface AssociationFactory
Specified by:
createAssociationEltForPhob in class DefaultAssociationFactory
Parameters:
phob - used to decide what type of AssociationElt to create
Returns:
the created AssociatoinElt