| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectclasses.shapes.ShapeFactory
public class ShapeFactory
Factory class for the shape objects
| Constructor Summary | |
|---|---|
| ShapeFactory() | |
| Method Summary | |
|---|---|
|  IShape | getShape(java.lang.String shapeName,
         ShapeCoordinates shapeCoordinates,
         ICommandMediator commandMediator)Creates the Shape object | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ShapeFactory()
| Method Detail | 
|---|
public IShape getShape(java.lang.String shapeName,
                       ShapeCoordinates shapeCoordinates,
                       ICommandMediator commandMediator)
getShape in interface IShapeFactoryshapeName - name of the shapeshapeCoordinates - default coordinates of the shapecommandMediator - command meditor to interact with other classes
ShapeCoordinates, 
ICommandMediator| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||