JVCL Help:IJvDataItemRenderer

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

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

IJvDataItemRenderer
TJvBaseDataItemRenderer
run\JvDataProviderIntf.pas


Summary

Data Item support interface that handles rendering and measuring itself.

run\JvDataProviderIntf.pas


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.

run\JvDataProviderIntf.pas


See Also

IJvDataItem, IJvDataItemsRenderer

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