public class ShapeFactory extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
ShapeFactory.Pair |
Modifier and Type | Field and Description |
---|---|
private static java.util.List<ShapeFactory.Pair> |
pairs |
Modifier | Constructor and Description |
---|---|
private |
ShapeFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
addShape(java.lang.String shapename,
java.lang.String classpath) |
static Shape |
newShape(java.lang.String selector) |
private static java.util.List<ShapeFactory.Pair> pairs
private ShapeFactory()