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.
In reply to Re: Decorator(?) classes and inheritance
by adrianh
in thread Decorator(?) classes and inheritance
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |