JVCL Help:IJvDataItemImage

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

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

IJvDataItemImage
TJvBaseDataItemImageImpl
run\JvDataProviderIntf.pas


Summary

Data Item support interface for adding image support to an item.

run\JvDataProviderIntf.pas


Pascal

 run\JvDataProviderIntf.pas
 IJvDataItemImage = interface;


Description

IJvDataItemImage is a supporting interface for IJvDataItem that adds image support to an item. For this interface to be useful, some things have to be taken care of:

  • The IJvDataItems owner of the item (or any of the IJvDataItems owners in the parent chain) must support the IJvDataItemsImages interface and at least have a valid image list assigned to its Images property.
  • The rendering code must be able to handle images. Rendering may be handled at the item itself (IJvDataItemRenderer supported by this item), by the item list owner of this item of any item in the parent chain (IJvDataItemsRenderer supported by an IJvDataItems implementation) or at the consumer (client control). The JEDI-VCL provides generic render implementations of which some do support image.

The interface provides properties to manage:

  • The position of the image in relation to the text
  • Which image to use in normal cases
  • which image to use when the item is selected/has focus.

run\JvDataProviderIntf.pas


See Also

IJvDataItem, IJvDataItemsImages

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