| Holds a List of Albums and provides operations to add, delete and
change a Album. Such a manager is often part of the domain layer.
This manager holds the Albums in an ArrayListModel, so we can
operate on a List and can expose it as a ListModel.
As an alternative, a higher-level presentation model, such as
the AlbumManagerModel could turn the List into a ListModel.
In the latter case, you would then need to fire the required
ListDataEvents.
The AlbumManagerModel turns the List of Albums and the operations
into a form that can be used in a user interface to display,
select, and edit Albums.
TODO: Demonstrate how to sort the albums.
author: Karsten Lentzsch version: $Revision: 1.9 $ See Also: AlbumManagerModel |