|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectclasses.shapes.BlueCircleFactory
public class BlueCircleFactory
Factory class for the Colored Shape objects
| Constructor Summary | |
|---|---|
BlueCircleFactory()
|
|
| Method Summary | |
|---|---|
IShape |
getAbstractShape(java.lang.String shapeName,
java.lang.Object object,
ShapeCoordinates shapeCoordinates,
ICommandMediator commandMediator)
Creates a blue circular shape (demonstrate Abstract Factory pattern) |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlueCircleFactory()
| Method Detail |
|---|
public IShape getAbstractShape(java.lang.String shapeName,
java.lang.Object object,
ShapeCoordinates shapeCoordinates,
ICommandMediator commandMediator)
getAbstractShape in interface IShapeAbstractFactoryshapeName - name of the shapeobject - object(abstract) required to make shapeshapeCoordinates - default coordinates of the shapecommandMediator - command meditor to interact with other classes
IShapeAbstractFactory.getAbstractShape(java.lang.String, java.lang.Object, types.ShapeCoordinates, interfaces.ICommandMediator),
ShapeCoordinates,
ICommandMediator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||