CSingleHeadingStyleItemDrawer Class Reference

class CSingleHeadingStyleItemDrawer : public CColumnListBoxItemDrawer

Horizontal lines support for item drawer.

Inherits from

Public Member Functions
CSingleHeadingStyleItemDrawer(MTextListBoxModel *, const CFont *, CColumnListBoxData *)
~CSingleHeadingStyleItemDrawer()
IMPORT_C voidDrawItem(TInt, TPoint, TBool, TBool, TBool, TBool)
IMPORT_C voidSetTopItemIndex(TInt)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CColumnListBoxItemDrawer::CColumnListBoxItemDrawer()
CColumnListBoxItemDrawer::CColumnListBoxItemDrawer(MTextListBoxModel *,const CFont *,CColumnListBoxData *)
CColumnListBoxItemDrawer::ClearAllPropertiesL()
CColumnListBoxItemDrawer::ColumnData()const
CColumnListBoxItemDrawer::DrawItemMark(TBool,TBool,const TPoint &)const
CColumnListBoxItemDrawer::DrawItemText(TInt,const TRect &,TBool,TBool,TBool)const
CColumnListBoxItemDrawer::ItemWidthInPixels(TInt)const
CColumnListBoxItemDrawer::LafItemSize()
CColumnListBoxItemDrawer::MinimumCellSize()const
CColumnListBoxItemDrawer::Properties(TInt)const
CColumnListBoxItemDrawer::SetItemCellSize(const TSize &)
CColumnListBoxItemDrawer::SetPropertiesL(TInt,TListItemProperties)
CColumnListBoxItemDrawer::~CColumnListBoxItemDrawer()
CListItemDrawer::BackColor()const
CListItemDrawer::CListItemDrawer()
CListItemDrawer::ClearFlags(TInt)
CListItemDrawer::ClearRect(const TRect &)const
CListItemDrawer::DimmedBackColor()const
CListItemDrawer::DimmedTextColor()const
CListItemDrawer::DrawFrame(CWindowGc &,const TRect &,TInt)const
CListItemDrawer::Flags()const
CListItemDrawer::Gc()const
CListItemDrawer::HighlightedBackColor()const
CListItemDrawer::HighlightedTextColor()const
CListItemDrawer::ItemCellSize()const
CListItemDrawer::MarkColor()const
CListItemDrawer::MarkColumn()const
CListItemDrawer::MarkGutter()const
CListItemDrawer::SetBackColor(TRgb)
CListItemDrawer::SetData(CListBoxData *)
CListItemDrawer::SetDimmedBackColor(TRgb)
CListItemDrawer::SetDimmedTextColor(TRgb)
CListItemDrawer::SetDrawMark(TBool)
CListItemDrawer::SetFlags(TInt)
CListItemDrawer::SetHighlightedBackColor(TRgb)
CListItemDrawer::SetHighlightedTextColor(TRgb)
CListItemDrawer::SetMarkColumnWidth(TInt)
CListItemDrawer::SetMarkGutter(TInt)
CListItemDrawer::SetSkinEnabledL(TBool)
CListItemDrawer::SetSymbolFont(const CFont *)
CListItemDrawer::SetTextColor(TRgb)
CListItemDrawer::SetVerticalInterItemGap(TInt)
CListItemDrawer::SetViewRect(const TRect &)
CListItemDrawer::SetupGc(TInt)const
CListItemDrawer::SkinBackgroundControlContext()const
CListItemDrawer::TextColor()const
CListItemDrawer::VerticalInterItemGap()const
CListItemDrawer::~CListItemDrawer()
CTextListItemDrawer::CTextListItemDrawer()
CTextListItemDrawer::CTextListItemDrawer(MTextListBoxModel *,const CFont *)
CTextListItemDrawer::ConstructL(const CFont *)
CTextListItemDrawer::DoDrawItemText(const TDesC &,const TRect &,TBool,TBool,TBool,TInt)const
CTextListItemDrawer::DrawActualItem(TInt,const TRect &,TBool,TBool,TBool,TBool)const
CTextListItemDrawer::Font(TInt)const
CTextListItemDrawer::ItemMarkPosition()const
CTextListItemDrawer::ItemMarkReplacement()const
CTextListItemDrawer::ItemMarkReverse()const
CTextListItemDrawer::MatcherCursorAscent(TInt)const
CTextListItemDrawer::MatcherCursorRect(const TDesC &,TInt,TInt,TInt)const
CTextListItemDrawer::ResetGc()const
CTextListItemDrawer::SetCellWidthInChars(TInt)
CTextListItemDrawer::SetFont(const CFont *)
CTextListItemDrawer::SetGc(CWindowGc *)
CTextListItemDrawer::SetItemMarkPosition(TInt)
CTextListItemDrawer::SetItemMarkReplacement(const TDesC &)
CTextListItemDrawer::SetItemMarkReverse(TBool)
CTextListItemDrawer::SetSearchStringL(const TDesC *)
CTextListItemDrawer::~CTextListItemDrawer()
Inherited Enumerations
CListItemDrawer:TFlags
CListItemDrawer:TListItemAttribute
Private Attributes
CCoeEnv *iCoeEnv
TInt iTopItemIndex
Inherited Attributes
CColumnListBoxItemDrawer::iPropertyArray
CColumnListBoxItemDrawer::iSpare
CListItemDrawer::iBackColor
CListItemDrawer::iData
CListItemDrawer::iDimmedBackColor
CListItemDrawer::iDimmedTextColor
CListItemDrawer::iDrawMark
CListItemDrawer::iGc
CListItemDrawer::iHighlightedBackColor
CListItemDrawer::iHighlightedTextColor
CListItemDrawer::iItemCellSize
CListItemDrawer::iMarkColor
CListItemDrawer::iMarkColumnWidth
CListItemDrawer::iMarkGutter
CListItemDrawer::iTextColor
CListItemDrawer::iViewRect
CTextListItemDrawer::iFont
CTextListItemDrawer::iModel

Constructor & Destructor Documentation

CSingleHeadingStyleItemDrawer(MTextListBoxModel *, const CFont *, CColumnListBoxData *)

IMPORT_CCSingleHeadingStyleItemDrawer(MTextListBoxModel *aTextListBoxModel,
const CFont *aFont,
CColumnListBoxData *aColumnData
)

Parameters

MTextListBoxModel * aTextListBoxModel
const CFont * aFont
CColumnListBoxData * aColumnData

~CSingleHeadingStyleItemDrawer()

IMPORT_C~CSingleHeadingStyleItemDrawer()

Member Functions Documentation

DrawItem(TInt, TPoint, TBool, TBool, TBool, TBool)

IMPORT_C voidDrawItem(TIntaItemIndex,
TPointaItemRectPos,
TBoolaItemIsSelected,
TBoolaItemIsCurrent,
TBoolaViewIsEmphasized,
TBoolaViewIsDimmed
)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

TInt aItemIndexIndex of the item to draw.
TPoint aItemRectPosPosition of the rectangle to draw.
TBool aItemIsSelectedWhether the item is selected.
TBool aItemIsCurrentWhether the item is current.
TBool aViewIsEmphasizedWhether the list box view has the emphasised flag set (see CListBoxView::SetEmphasized()).
TBool aViewIsDimmedWhether the list box view has its dimmed flag set (see CListBoxView::SetDimmed()).

SetTopItemIndex(TInt)

IMPORT_C voidSetTopItemIndex(TIntaTop)

Parameters

TInt aTop

Member Data Documentation

CCoeEnv * iCoeEnv

CCoeEnv *iCoeEnv[private]

TInt iTopItemIndex

TInt iTopItemIndex[private]