CColumnListBoxItemDrawer Class Reference
class CColumnListBoxItemDrawer : public CTextListItemDrawer
|
Draws the contents of list box items.
Nested Classes and Structures
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()
|
|
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::DrawItem(TInt,TPoint,TBool,TBool,TBool,TBool)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()
|
Constructor & Destructor Documentation
CColumnListBoxItemDrawer()
IMPORT_C
|
CColumnListBoxItemDrawer
|
(
|
)
|
|
CColumnListBoxItemDrawer(MTextListBoxModel *, const CFont *, CColumnListBoxData *)
C++ default constructor.
Initialises the list box item drawer with the specified model, font and data.
Parameters
MTextListBoxModel
* aTextListBoxModel
|
The model whose items will be drawn. This provides the item text that is drawn using DrawItemText().
|
const
CFont
* aFont
|
The font in which the items will be drawn.
|
CColumnListBoxData
* aColumnData
|
The column list box data. This comprises: the column widths, gaps, fonts, aligments and bitmaps.
|
~CColumnListBoxItemDrawer()
IMPORT_C
|
~CColumnListBoxItemDrawer
|
(
|
)
|
|
Member Functions Documentation
CColumnListBoxItemDrawer_Reserved()
IMPORT_C void
|
CColumnListBoxItemDrawer_Reserved
|
(
|
)
|
[private]
|
ClearAllPropertiesL()
IMPORT_C void
|
ClearAllPropertiesL
|
(
|
)
|
|
ColumnData()
Gets a pointer to the column list box data as set during construction. Does not transfer ownership.
Returns a pointer to the column data. Does not imply transfer of ownership.
DrawItemMark(TBool, TBool, const TPoint &)
IMPORT_C void
|
DrawItemMark
|
(
|
TBool
|
aItemIsSelected,
|
|
TBool
|
aViewIsDimmed,
|
|
const
TPoint
&
|
aMarkPos
|
|
)
|
const [virtual]
|
DrawItemText(TInt, const TRect &, TBool, TBool, TBool)
IMPORT_C void
|
DrawItemText
|
(
|
TInt
|
aItemIndex,
|
|
const
TRect
&
|
aItemTextRect,
|
|
TBool
|
aItemIsCurrent,
|
|
TBool
|
aViewIsEmphasized,
|
|
TBool
|
aItemIsSelected
|
|
)
|
const [virtual]
|
Parameters
TInt
aItemIndex
|
Index of the item to draw.
|
const
TRect
& aItemTextRect
|
Area to draw into.
|
TBool
aItemIsCurrent
|
ETrue if the item is current.
|
TBool
aViewIsEmphasized
|
ETrue if the view is emphasised.
|
TBool
aItemIsSelected
|
ETrue if the item is selected.
|
ItemWidthInPixels(TInt)
IMPORT_C
TInt
|
ItemWidthInPixels
|
(
|
TInt
|
aItemIndex
|
)
|
const [virtual]
|
Parameters
TInt
aItemIndex
|
The index of the item whose width is to be returned.
|
LafItemSize()
TSize
|
LafItemSize
|
(
|
)
|
[inline]
|
MinimumCellSize()
IMPORT_C
TSize
|
MinimumCellSize
|
(
|
)
|
const [virtual]
|
Properties(TInt)
Get properties for an item.
Parameters
TInt
aItemIndex
|
Item's index for identifying.
|
Reserved_1()
IMPORT_C
TAny
*
|
Reserved_1
|
(
|
)
|
[private, virtual]
|
SetItemCellSize(const TSize &)
IMPORT_C void
|
SetItemCellSize
|
(
|
const
TSize
&
|
aSizeInPixels
|
)
|
[virtual]
|
From
CListItemDrawer
.
Sets the item cell size.
The cell size is the on-screen size of the entire item, including its text and its item mark.
Parameters
const
TSize
& aSizeInPixels
|
New size for the item cell.
|
SetPropertiesL(TInt, TListItemProperties)
Set the property for an item with
aItemIndex
Parameters
TInt
aItemIndex
|
Item index
|
TListItemProperties
aProperty
|
The new property setting The SetProperties is convinience method for normal cases. NOTE that it does NOT work correctly if you can insert/delete items from the list -- You need to update all properties if any changes to the item text array happen! Often it is convinient to override the Properties() method. Further, use this only for small lists as it causes O(n) time if you need to set all properties.
|
Member Data Documentation
CArrayFix< SListProperties > * iPropertyArray
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.