in reply to Decorator(?) classes and inheritance

I think these are Decorator classes.

In the design pattern world decorator classes are run-time things, rather than behaviour added by inheritance. You wrap your object inside a decorator class object which then delegates and adds behaviour as appropriate.

You might want to consider this approach as an alternative to inheritance.

  • Comment on Re: Decorator(?) classes and inheritance