CAknsImageItemData Class Reference

API published in: S60 2nd Ed

Link against: aknskins.lib aknskinsrv.lib aknswallpaperutils.lib

Capability Information

Required Capabilities

None


#include <aknsitemdata.h>

Inherits CAknsItemData.

Inherited by CAknsBitmapItemData, CAknsColorTableItemData, and CAknsImageTableItemData.


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.


Public Member Functions

virtual  ~CAknsImageItemData ()
  Destructor.
IMPORT_C void  SetAttributesL (const TAknsImageAttributeData &aAttributes)
  Sets the image attributes for this image item data object.
IMPORT_C const TAknsImageAttributeData *  Attributes () const
  Returns a pointer to the image attribute structure owned by the item data object.
IMPORT_C void  SetParentIID (const TAknsItemID &aIID)
IMPORT_C void  SetDrawRect (const TRect &aRect)
IMPORT_C TAknsItemID  ParentIID ()
IMPORT_C TRect  DrawRect ()

Protected Member Functions

  CAknsImageItemData (const TAknsItemType aType)
  C++ constructor for derived classes.

Protected Attributes

TAknsImageAttributeData *  iAttributeData
TAknsItemID  iParentIID
TRect  iDrawRect

Constructor & Destructor Documentation

virtual CAknsImageItemData::~CAknsImageItemData  )  [virtual]
 

Destructor.

CAknsImageItemData::CAknsImageItemData const TAknsItemType  aType  )  [protected]
 

C++ constructor for derived classes.

Constructs an image item data object with given item type.

Parameters:
aType  Item type of the new item data object.

Member Function Documentation

IMPORT_C const TAknsImageAttributeData* CAknsImageItemData::Attributes  )  const
 

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

Returns:
Pointer to the image attribute structure, or NULL if there is none.
IMPORT_C TRect CAknsImageItemData::DrawRect  ) 
 
IMPORT_C TAknsItemID CAknsImageItemData::ParentIID  ) 
 
IMPORT_C void CAknsImageItemData::SetAttributesL const TAknsImageAttributeData &  aAttributes  ) 
 

Sets the image attributes for this image item data object.

Parameters:
aAttributes  Attribute data structure containing the new values.
IMPORT_C void CAknsImageItemData::SetDrawRect const TRect &  aRect  ) 
 
IMPORT_C void CAknsImageItemData::SetParentIID const TAknsItemID aIID  ) 
 

Field Documentation

TAknsImageAttributeData* CAknsImageItemData::iAttributeData [protected]
 
TRect CAknsImageItemData::iDrawRect [protected]
 
TAknsItemID CAknsImageItemData::iParentIID [protected]
 

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top