Create a View class.
Instances of the view delegate all access to an inner object. Before delegating they enable the given aspect, at the end of the access the aspect is disabled.
Parameters: | aspect (Aspect) – The aspect to enable during viewing, and disable otherwise |
---|