CAknsImageTableItemData Class Reference
class CAknsImageTableItemData : public CAknsImageItemData
|
Icon table item data. Icon table item data contains (in addition to base class members), an array containing item IDs of images. Item type for image table item data objects is always
EAknsITImageTable
.
This is a public class with exported functions. The class is not intended for derivation outside the library.
AknSkins.lib
Constructor & Destructor Documentation
CAknsImageTableItemData(const TAknsItemType)
CAknsImageTableItemData
|
(
|
const
TAknsItemType
|
aType
|
)
|
[protected]
|
Parameters
const
TAknsItemType
aType
|
Item type of the new item data object. While this is always EAknsITImageTable for instances of this class, derived classes may specify another value.
|
~CAknsImageTableItemData()
~CAknsImageTableItemData
|
(
|
)
|
[virtual]
|
Destructor. Destroys image array.
Member Functions Documentation
ImageIID(const TInt)
Returns the item ID of an image.
Parameters
const
TInt
aIndex
|
Index of the image. This value must be within 0 (inclusive) and NumberOfImages (exclusive).
|
Images()
Returns pointer to the first entry in the image array, owned by this object.
NewL()
Two-phased constructor. Constructs a new
CAknsImageTableItemData
object. Values must be set separately using SetImagesL.
-
Exceptions:
-
If allocation fails, function leaves with a system-wide error code.
NumberOfImages()
IMPORT_C
TInt
|
NumberOfImages
|
(
|
)
|
const
|
Returns the number of images.
SetImagesL(const TInt, const TAknsItemID *)
IMPORT_C void
|
SetImagesL
|
(
|
const
TInt
|
aNumberOfImages,
|
|
const
TAknsItemID
*
|
aImages
|
|
)
|
|
Sets image table values for this item data instance.
Parameters
const
TInt
aNumberOfImages
|
Number of images in aImages.
|
const
TAknsItemID
* aImages
|
Pointer to first image ID. Values are copied into an internal array.
|
Member Data Documentation
TAknsItemID * iImageArray
TInt
iNumberOfImages
TInt
|
iNumberOfImages
|
[protected]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.