JVCL Help:IJvDataItemRenderer
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: IJvDataItemRenderer Interface
[+] IJvDataItemRenderer Methods
[+] JvDataProviderIntf.pas Interfaces
Search in JVCL Help
Search in all projectsClass Hierarchy
IJvDataItemRenderer
TJvBaseDataItemRenderer
run\JvDataProviderIntf.pas
Summary
Data Item support interface that handles rendering and measuring itself.
Pascal
run\JvDataProviderIntf.pas
IJvDataItemRenderer = interface;
Description
IJvDataItemRenderer is a supporting interface for IJvDataItem that adds rendering and measuring capabilities to an item.
Consumers generally handle rendering/measuring in the following way:
- Check if the item supports the IJvDataItemRenderer interface. If it does use it to perform the rendering/measuring.
- Check for the closest IJvDataItemsRenderer interface (the direct owning IJvDataItems list or anyof the lists in its parent chain). If it finds one use it to perform the rendering/measuring.
- Handle the rendering at the consumer side. This means all items are considered equal and usually only IJvDataItemText and optionally IJvDataItemImage (and the corresponding IJvDataItemsImages) are used. The entire rendering/measuring is then consumer (control) dependent and the provider tree may no longer look uniform in different consumers/clients.
See Also
IJvDataItem, IJvDataItemsRenderer
About
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