Class ShapeAnalogueFactory

  extended by edu.berkeley.guir.papier_mache.assoc.DefaultAssociationFactory
      extended by
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.

Scott Klemmer ( srk(AT) )

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


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


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
phob - used to decide what type of AssociationElt to create
the created AssociatoinElt