CAknsImageItemData Class Reference

#include <mw/AknsItemData.h>

Link against: AknSkins.lib

class CAknsImageItemData : public CAknsItemData

Inherits from

Detailed Description

Image item data. Image item data contains (in addition to base class members) image attributes, such as size or alignment. Item type for image item data objects is EAknsITImage.

This is a public class with exported functions. The class is not intended for derivation outside the library.

Since
2.0

Member Attribute Documentation

iAttributeData

TAknsImageAttributeData *iAttributeData[protected]

iDrawRect

TRect iDrawRect[protected]

iParentIID

TAknsItemID iParentIID[protected]

Constructor & Destructor Documentation

CAknsImageItemData ( const TAknsItemType )

CAknsImageItemData(const TAknsItemTypeaType)[protected]

C++ constructor for derived classes. Constructs an image item data object with given item type.

ParameterDescription
aTypeItem type of the new item data object.

~CAknsImageItemData ( )

~CAknsImageItemData()[virtual]

Destructor.

Member Function Documentation

Attributes ( )

IMPORT_C const TAknsImageAttributeData *Attributes()const

Returns a pointer to the image attribute structure owned by the item data object.

Since
2.0

Returns: Pointer to the image attribute structure, or NULL if there is none.

DrawRect ( )

IMPORT_C TRectDrawRect()

ParentIID ( )

IMPORT_C TAknsItemIDParentIID()

SetAttributesL ( const TAknsImageAttributeData & )

IMPORT_C voidSetAttributesL(const TAknsImageAttributeData &aAttributes)

Sets the image attributes for this image item data object.

Since
2.0
ParameterDescription
aAttributesAttribute data structure containing the new values.

SetDrawRect ( const TRect & )

IMPORT_C voidSetDrawRect(const TRect &aRect)

SetParentIID ( const TAknsItemID & )

IMPORT_C voidSetParentIID(const TAknsItemID &aIID)