CWordWrappedFormattedCellItemDrawer Class Reference

class CWordWrappedFormattedCellItemDrawer : public CFormattedCellListBoxItemDrawer

Word wrapping for double2 styles

Public Member Functions
CWordWrappedFormattedCellItemDrawer ( MTextListBoxModel *, const CFont *, CFormattedCellListBoxData *, CEikListBox *, TInt , TInt )
IMPORT_C void DrawItem ( TInt , TPoint , TBool , TBool , TBool , TBool )
IMPORT_C void DrawItemText ( TInt , const TRect &, TBool , TBool , TBool )
Private Member Functions
IMPORT_C void CFormattedCellListBoxItemDrawer_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_C CWordWrappedFormattedCellItemDrawer ( MTextListBoxModel * aTextListBoxModel,
const CFont * aFont,
CFormattedCellListBoxData * aFormattedCellData,
CEikListBox * aListBox,
TInt aSubCell,
TInt aSubCell2
)

Parameters

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

Member Functions Documentation

CFormattedCellListBoxItemDrawer_Reserved()

IMPORT_C void CFormattedCellListBoxItemDrawer_Reserved ( ) [private]

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

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

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

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

From CTextListItemDrawer .

Draw an item in a list box.

Parameters

TInt aItemIndex The index into the model's item array of the item to draw.
const TRect & aItemTextRect The item s text rectangle.
TBool aItemIsCurrent ETrue if the item is current. EFalse otherwise.
TBool aViewIsEmphasized ETrue if the view is emphasized. EFalse otherwise.
TBool aItemIsSelected ETrue if the item is selected. EFalse otherwise.

Member Data Documentation

TInt iSubCell2

TInt iSubCell2 [private]