JVCL Help:IJvDataContext

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

IJvDataContext
TJvBaseDataContext
run\JvDataProviderIntf.pas


Summary

Context object.

run\JvDataProviderIntf.pas


Pascal

 run\JvDataProviderIntf.pas
 IJvDataContext = interface;


Description

IJvDataContext represents an individual context. Contexts allow providers to represent their contents in a different way to different consumers.
Each context can represent a different tree and/or different item properties while using the same data. This keeps the memory usage down, since the common information is kept only once.
Consumers can select which context they want to use so multiple consumers with the same context will get the exact same representation.
Contexts allow for inheriting the properties (or tree structure) of the parent context if such properties is not explicitly set for that context (this is at the discretion of the provider and some providers will not allow this behavior or even allow contexts at a deeper level than the root). This also contributes to reducing memory usage. The IJvDataContextSensitive interface manages the inherited state of the properties.

run\JvDataProviderIntf.pas


See Also

IJvDataContexts, IJvDataContextSensitive, IJvDataItem, IJvDataItems, IJvDataProvider

run\JvDataProviderIntf.pas


About

Navigation

run\JvDataProviderIntf.pas



Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page