CSingleHeadingStyleItemDrawer Class Reference

API published in: S60 1st Ed

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

Capability Information

Required Capabilities

None


#include <aknlists.h>

Inherits CColumnListBoxItemDrawer.


Detailed Description

Horizontal lines support for item drawer.

Public Member Functions

IMPORT_C  CSingleHeadingStyleItemDrawer (MTextListBoxModel *aTextListBoxModel, const CFont *aFont, CColumnListBoxData *aColumnData)
IMPORT_C  ~CSingleHeadingStyleItemDrawer ()
virtual IMPORT_C void  DrawItem (TInt aItemIndex, TPoint aItemRectPos, TBool aItemIsSelected, TBool aItemIsCurrent, TBool aViewIsEmphasized, TBool aViewIsDimmed) const
  Draws the entire item.
IMPORT_C void  SetTopItemIndex (TInt aTop)

Constructor & Destructor Documentation

IMPORT_C CSingleHeadingStyleItemDrawer::CSingleHeadingStyleItemDrawer MTextListBoxModel aTextListBoxModel,
const CFont *  aFont,
CColumnListBoxData aColumnData
 
IMPORT_C CSingleHeadingStyleItemDrawer::~CSingleHeadingStyleItemDrawer  ) 
 

Member Function Documentation

virtual IMPORT_C void CSingleHeadingStyleItemDrawer::DrawItem TInt  aItemIndex,
TPoint  aItemRectPos,
TBool  aItemIsSelected,
TBool  aItemIsCurrent,
TBool  aViewIsEmphasized,
TBool  aViewIsDimmed
const [virtual]
 

Draws the entire item.

This function is called by the list box view. As implemented in CListItemDrawer, this function draws the item text using DrawActualItem(), and an item mark using DrawItemMark().

Parameters:
aItemIndex  Index of the item to draw.
aItemRectPos  Position of the rectangle to draw.
aItemIsSelected  Whether the item is selected.
aItemIsCurrent  Whether the item is current.
aViewIsEmphasized  Whether the list box view has the emphasised flag set (see CListBoxView::SetEmphasized()).
aViewIsDimmed  Whether the list box view has its dimmed flag set (see CListBoxView::SetDimmed()).

Reimplemented from CListItemDrawer.

IMPORT_C void CSingleHeadingStyleItemDrawer::SetTopItemIndex TInt  aTop  ) 
 

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

Copyright © Nokia Corporation 2001-2008
Back to top