In addition to its superclass AlbumPresentationModel this class provides
a bound read-only property and presentation logic for views that present
buffered Album contents.
The bufferedComposerEnabled property is true if and only if
the underlying Album is non-null and the buffered classical
property is true. This aggregated property is intended to be used by views
that present buffered albums and want to indicate the composer enablement.
Also, this buffered presentation model adds presentation logic that
is copied from the domain: if the buffered classical property is deselected,
the buffered composer content is set to null .
This code could be moved to the AlbumPresentationModel. But I wanted to
keep the AlbumPresentationModel close to the example that Martin Fowler
uses to describe the
Presentation
Model pattern.
author: Karsten Lentzsch version: $Revision: 1.6 $ See Also: AlbumPresentationModel |