Class AbstractShape
- java.lang.Object
-
- de.fraunhofer.iosb.ilt.configurableexample.AbstractShape
-
- All Implemented Interfaces:
AnnotatedConfigurable<Void,Void>,Configurable<Void,Void>,Shape
- Direct Known Subclasses:
Circle,PrivateCircle,Rectangle,Triangle
public abstract class AbstractShape extends Object implements Shape
The abstract class that our shapes extend. It defines the common property 'color' shared amongst all Shapes.- Author:
- scf
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractShape.Pattern
-
Field Summary
Fields Modifier and Type Field Description protected Shapeshape-
Fields inherited from interface de.fraunhofer.iosb.ilt.configurable.Configurable
CLASS_CONFIG_EDITOR_FACTORY_METHOD_NAME
-
-
Constructor Summary
Constructors Constructor Description AbstractShape()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorgetColor()AbstractShape.PatterngetPattern()voidpaintMe()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.fraunhofer.iosb.ilt.configurable.AnnotatedConfigurable
configure, getConfigEditor
-
-
-
-
Field Detail
-
shape
protected Shape shape
-
-
Method Detail
-
getColor
public Color getColor()
-
getPattern
public AbstractShape.Pattern getPattern()
-
-