Class WAbstractProxyModel

Direct Known Subclasses:
WAggregateProxyModel, WBatchEditProxyModel, WIdentityProxyModel, WReadOnlyProxyModel, WSortFilterProxyModel

public abstract class WAbstractProxyModel extends WAbstractItemModel
An abstract proxy model for JWt's item models.

A proxy model does not store data, but presents data from a source model in another way. It may provide filtering, sorting, or other computed changes to the source model. A proxy model may be a fully functional model, that also allows modification of the underlying model.

This abstract proxy model may be used as a starting point for implementing a custom proxy model, when WSortFilterProxyModel is not adequate. It implements data access and manipulation using the a virtual mapping method (mapToSource()) to access and manipulate the underlying getSourceModel().