RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IActionImageProducer Interface

IActionImageProducer is the interface for accessing the image or set of images that represent an adapter action.

Pascal
IActionImageProducer = interface(IImageProducer);
C++
__interface IActionImageProducer : public IImageProducer;

IActionImageProducer is the interface used to access the object that supplies images for an adapter action. This interface can supply a single image for the action, or a set of related images that can be used when an HTML control changes its appearance in response to user actions. 

IActionImageProducer does not directly supply the HREF for the image or images it represents. Instead, it supplies the interface for another object. That object may generate the image, or it may simply generate an HREF that addresses the object that generates the image. This extra level of indirection allows the object that implements IActionImageProducer to work with multiple adapter fields that produce a variety of images.

Note: Method declarations that use IActionImageProducer use the _di_IActionImageProducer type instead. This type is a DelphiInterface wrapper around the IActionImageProducer interface:

typedef System::DelphiInterfaceDelphiInterface_object< IActionImageProducer >  _di_IActionImageProducer;

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!