Package diva.canvas.test
Class ConcreteFigures.ImageFigureFactory
- java.lang.Object
-
- diva.canvas.test.ConcreteFigures.ImageFigureFactory
-
- All Implemented Interfaces:
FigureTest.FigureFactory
- Enclosing class:
- ConcreteFigures
public static class ConcreteFigures.ImageFigureFactory extends java.lang.Object implements FigureTest.FigureFactory
Create an image figure
-
-
Field Summary
Fields Modifier and Type Field Description java.awt.Component
component
static java.lang.String
IMAGE_FILE_NAME
-
Constructor Summary
Constructors Constructor Description ImageFigureFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Figure
createFigure()
java.lang.String
toString()
-
-
-
Field Detail
-
IMAGE_FILE_NAME
public static final java.lang.String IMAGE_FILE_NAME
- See Also:
- Constant Field Values
-
component
public java.awt.Component component
-
-
Method Detail
-
createFigure
public Figure createFigure()
- Specified by:
createFigure
in interfaceFigureTest.FigureFactory
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-