CSettingsListBoxItemDrawer Class Reference

API published in: S60 1st Ed

Link against: avkon.lib eikctl.lib eikcoctl.lib

Capability Information

Required Capabilities

None


#include <
eikslb.h>

Inherits CFormattedCellListBoxItemDrawer.


Detailed Description

Item drawer class for
CEikSettingsListBox.

This class is not intended for user derivation.


Public Member Functions

IMPORT_C CSettingsListBoxItemDrawer (MTextListBoxModel *aTextListBoxModel, const CFont *aFont, CSettingsListBoxData *aSettingsData)
 Default constructor.
IMPORT_C ~CSettingsListBoxItemDrawer ()
 destructor
IMPORT_C CSettingsListBoxData * SettingsData () const
IMPORT_C void DrawItemText (TInt aItemIndex, const TRect &aItemTextRect, TBool aItemIsCurrent, TBool aViewIsEmphasized, TBool aItemIsSelected) const
 from CTextListItemDrawer

Constructor & Destructor Documentation

IMPORT_C CSettingsListBoxItemDrawer::CSettingsListBoxItemDrawer MTextListBoxModel aTextListBoxModel,
const CFont *  aFont,
CSettingsListBoxData *  aSettingsData
 

Default constructor.

Parameters:
aTextListBoxModel The model whose items will be drawn.
aFont The font in which the items will be drawn. Usually overriden by layouts.
aSettingsData The listbox data class to be used.
IMPORT_C CSettingsListBoxItemDrawer::~CSettingsListBoxItemDrawer  ) 
 

destructor


Member Function Documentation

IMPORT_C void CSettingsListBoxItemDrawer::DrawItemText TInt  aItemIndex,
const TRect &  aItemTextRect,
TBool  aItemIsCurrent,
TBool  aViewIsEmphasized,
TBool  aItemIsSelected
const [virtual]
 

from CTextListItemDrawer

Parameters:
aItemIndex Index of the item to draw.
aItemTextRect Area to draw into.
aItemIsCurrent ETrue if the item is current.
aViewIsEmphasized ETrue if the view is emphasized.
aItemIsSelected ETrue if the item is selected.

Reimplemented from CFormattedCellListBoxItemDrawer.

IMPORT_C CSettingsListBoxData* CSettingsListBoxItemDrawer::SettingsData  )  const
 
Returns:
pointer to listbox data class

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

Copyright © Nokia Corporation 2001-2008
Back to top