CWordWrappedFormattedCellItemDrawer Class Reference

class CWordWrappedFormattedCellItemDrawer : public CFormattedCellListBoxItemDrawer

Word wrapping for double2 styles

Inherits from

Public Member Functions
CWordWrappedFormattedCellItemDrawer(MTextListBoxModel *, const CFont *, CFormattedCellListBoxData *, CEikListBox *, TInt, TInt)
IMPORT_C voidDrawItem(TInt, TPoint, TBool, TBool, TBool, TBool)
IMPORT_C voidDrawItemText(TInt, const TRect &, TBool, TBool, TBool)
Private Member Functions
IMPORT_C voidCFormattedCellListBoxItemDrawer_Reserved()
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()
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::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
TInt iSubCell2
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

CWordWrappedFormattedCellItemDrawer(MTextListBoxModel *, const CFont *, CFormattedCellListBoxData *, CEikListBox *, TInt, TInt)

IMPORT_CCWordWrappedFormattedCellItemDrawer(MTextListBoxModel *aTextListBoxModel,
const CFont *aFont,
CFormattedCellListBoxData *aFormattedCellData,
CEikListBox *aListBox,
TIntaSubCell,
TIntaSubCell2
)

Parameters

MTextListBoxModel * aTextListBoxModel
const CFont * aFont
CFormattedCellListBoxData * aFormattedCellData
CEikListBox * aListBox
TInt aSubCell
TInt aSubCell2

Member Functions Documentation

CFormattedCellListBoxItemDrawer_Reserved()

IMPORT_C voidCFormattedCellListBoxItemDrawer_Reserved()[private]

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()).

DrawItemText(TInt, const TRect &, TBool, TBool, TBool)

IMPORT_C voidDrawItemText(TIntaItemIndex,
const TRect &aItemTextRect,
TBoolaItemIsCurrent,
TBoolaViewIsEmphasized,
TBoolaItemIsSelected
)const [virtual]

From CTextListItemDrawer.

Draw an item in a list box.

Parameters

TInt aItemIndexThe index into the model's item array of the item to draw.
const TRect & aItemTextRectThe item s text rectangle.
TBool aItemIsCurrentETrue if the item is current. EFalse otherwise.
TBool aViewIsEmphasizedETrue if the view is emphasized. EFalse otherwise.
TBool aItemIsSelectedETrue if the item is selected. EFalse otherwise.

Member Data Documentation

TInt iSubCell2

TInt iSubCell2[private]