Decorator Example (3/4)
public class BorderFigureWrapper extends FigureWrapper {
private Drawable myWrapee = null;
private int myThickness = 0;
private String myColour = null;
BorderFigureWrapper(Drawable wrapee, int thickness, String colour) {
// draw a border and call parent to draw the rest
public Drawable getWrapee() {
// give back wrapee object