Package diva.canvas.test
Class ConcreteFigures.BasicRectangleFactory2
- java.lang.Object
-
- diva.canvas.test.ConcreteFigures.BasicRectangleFactory2
-
- All Implemented Interfaces:
FigureTest.FigureFactory
- Enclosing class:
- ConcreteFigures
public static class ConcreteFigures.BasicRectangleFactory2 extends java.lang.Object implements FigureTest.FigureFactory
Create a filled BasicRectangle
-
-
Constructor Summary
Constructors Constructor Description BasicRectangleFactory2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Figure
createFigure()
java.lang.String
toString()
-
-
-
Method Detail
-
createFigure
public Figure createFigure()
- Specified by:
createFigure
in interfaceFigureTest.FigureFactory
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-