public abstract class AbstractShapeFactory extends Object implements ShapeFactory
Constructor and Description |
---|
AbstractShapeFactory() |
Modifier and Type | Method and Description |
---|---|
Shape |
createShape() |
protected abstract int |
defaultHeight() |
protected abstract int |
defaultWidth() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createShape, getShapeNames
protected abstract int defaultWidth()
protected abstract int defaultHeight()
public Shape createShape()
createShape
in interface ShapeFactory
Copyright © 2013-2015. All Rights Reserved.