feynman.framework.system
Class CartesianObjectFactory

java.lang.Object
  |
  +--feynman.framework.system.CartesianObjectFactory
All Implemented Interfaces:
PhysicalObjectFactory

public class CartesianObjectFactory
extends java.lang.Object
implements PhysicalObjectFactory

Factory class that implements PhysicalObjectFactory. Use this class to create object that are used in the study of Cartesian Coordinate Systems. To do this first indicate in the Simulation.properties the usage of the Factory and a corresponding PhysicalObject in the following manner:

 # Use the cartesian coordinate system.
 PhysicalObjectFactoryClass=feynman.framework.CartesianObjectFactory

 # User defined class of the PhysicalObject to use in the PhysicalSystem
 PhysicalObjectClass=CartesianParticle 
 

Version:
$Revision: 1.1.1.1 $ $Date: 2002/11/12 02:25:43 $
Author:
Wes Bailey

Method Summary
 PhysicalObject create(Simulation sim)
          Factory method for generating PhysicalObjects in the Cartesian Coordinate System.
static CartesianObjectFactory getInstance()
          Use this method to retrieve an instance of the Factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static final CartesianObjectFactory getInstance()
Use this method to retrieve an instance of the Factory.
Note: This method is used internally and should never be used for a user specific implementation.

create

public PhysicalObject create(Simulation sim)
                      throws PhysicalObjectFactoryException
Factory method for generating PhysicalObjects in the Cartesian Coordinate System.
Specified by:
create in interface PhysicalObjectFactory