CMsgAttachmentItemDrawer Class Reference

class CMsgAttachmentItemDrawer : public CDoubleLargeStyleItemDrawer
Public Member Functions
CMsgAttachmentItemDrawer ( MTextListBoxModel *, const CFont *, CFormattedCellListBoxData *, CMsgAttachmentModel &, CMsgAttachmentsListBox *)
void DrawItem ( TInt , TPoint , TBool , TBool , TBool , TBool )
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()
CDoubleLargeStyleItemDrawer::CDoubleLargeStyleItemDrawer(MTextListBoxModel *,const CFont *,CFormattedCellListBoxData *,CEikListBox *)
CFormattedCellListBoxItemDrawer::CFormattedCellListBoxItemDrawer(MTextListBoxModel *,const CFont *,CFormattedCellListBoxData *)
CFormattedCellListBoxItemDrawer::ClearAllPropertiesL()
CFormattedCellListBoxItemDrawer::ColumnData()const
CFormattedCellListBoxItemDrawer::DrawBackgroundAndSeparatorLines(const TRect &,TBool)const
CFormattedCellListBoxItemDrawer::DrawEmptyItem(TInt,TPoint,TBool)const
CFormattedCellListBoxItemDrawer::DrawItemMark(TBool,TBool,const TPoint &)const
CFormattedCellListBoxItemDrawer::DrawItemText(TInt,const TRect &,TBool,TBool,TBool)const
CFormattedCellListBoxItemDrawer::FormattedCellData()const
CFormattedCellListBoxItemDrawer::ItemWidthInPixels(TInt)const
CFormattedCellListBoxItemDrawer::LafItemSize()
CFormattedCellListBoxItemDrawer::MinimumCellSize()const
CFormattedCellListBoxItemDrawer::Properties(TInt)const
CFormattedCellListBoxItemDrawer::SetItemCellSize(const TSize &)
CFormattedCellListBoxItemDrawer::SetPropertiesL(TInt,TListItemProperties)
CFormattedCellListBoxItemDrawer::SetTopItemIndex(TInt)
CFormattedCellListBoxItemDrawer::WordWrapListItem(TPtr &,const TDesC &,TInt,TInt,TInt)const
CFormattedCellListBoxItemDrawer::~CFormattedCellListBoxItemDrawer()
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
CMsgAttachmentModel & iAttachmentModel
Inherited Attributes
CFormattedCellListBoxItemDrawer::iPropertyArray
CFormattedCellListBoxItemDrawer::iTopItemIndex
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

CMsgAttachmentItemDrawer(MTextListBoxModel *, const CFont *, CFormattedCellListBoxData *, CMsgAttachmentModel &, CMsgAttachmentsListBox *)

CMsgAttachmentItemDrawer ( MTextListBoxModel * aTextListBoxModel,
const CFont * aFont,
CFormattedCellListBoxData * aFormattedCellData,
CMsgAttachmentModel & aAttachmentModel,
CMsgAttachmentsListBox * aAttaListBox
)

Parameters

MTextListBoxModel * aTextListBoxModel
const CFont * aFont
CFormattedCellListBoxData * aFormattedCellData
CMsgAttachmentModel & aAttachmentModel
CMsgAttachmentsListBox * aAttaListBox

Member Functions Documentation

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

void 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

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

Member Data Documentation

CMsgAttachmentModel & iAttachmentModel

CMsgAttachmentModel & iAttachmentModel [private]