public class CircleFactory extends EllipseFactory
Constructor and Description |
---|
CircleFactory() |
Modifier and Type | Method and Description |
---|---|
Shape |
createShape(int width,
int height) |
protected int |
defaultHeight() |
protected int |
defaultWidth() |
String[] |
getShapeNames() |
createShape
protected int defaultWidth()
defaultWidth
in class EllipseFactory
protected int defaultHeight()
defaultHeight
in class EllipseFactory
public Shape createShape(int width, int height)
createShape
in interface ShapeFactory
createShape
in class EllipseFactory
public String[] getShapeNames()
getShapeNames
in interface ShapeFactory
getShapeNames
in class EllipseFactory
Copyright © 2013-2015. All Rights Reserved.