UIQ Technology
Symbian OS Library

UIQ 3.1 SDK        UIQ developer portal

[Index] [Spacer] [Previous] [Next]



Location: EIKCLB.H
Link against: eiklbx.lib

Class CColumnListBoxItemDrawer

Interface status: deprecatedQuartz 6.0

class CColumnListBoxItemDrawer : public CTextListItemDrawer;

Description

Functions to access the column list box data and to draw a column list box item.

Derivation

Members

Defined in CColumnListBoxItemDrawer:
CColumnListBoxItemDrawer(), ColumnData(), DrawItemText(), ItemWidthInPixels(), MinimumCellSize(), Properties(), SetSearchStringL(), ~CColumnListBoxItemDrawer()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CListItemDrawer:
BackColor(), BaseLineOffset(), CListItemDrawer_Reserved_1(), ClearFlags(), ClearRect(), DataWidthClippedToViewRect(), DimmedBackColor(), DimmedTextColor(), DrawFrame(), DrawItem(), DrawItemMark(), ECurrent, EDataWidthClippedToViewRect, EDrawMarkSelection, EDrawOnlyActiveSelection, EEmphasized, EMask, EPaintedSelection, ESelected, Flags(), Gc(), HighlightedBackColor(), HighlightedTextColor(), MarkColor(), MarkColumn(), MarkGutter(), SetBackColor(), SetData(), SetDataWidthClippedToViewRect(), SetDimmedBackColor(), SetDimmedTextColor(), SetDrawMark(), SetFlags(), SetFontProvider(), SetHighlightedBackColor(), SetHighlightedTextColor(), SetItemCellSize(), SetMarkColumnWidth(), SetMarkGutter(), SetSymbolFont(), SetTextColor(), SetVerticalInterItemGap(), SetViewRect(), SetupGc(), TFlags, TListItemAttribute, TextColor(), VerticalInterItemGap(), iBackColor, iData, iDimmedBackColor, iDimmedTextColor, iDrawMark, iFontProvider, iGc, iHighlightedBackColor, iHighlightedTextColor, iItemCellSize, iMarkColor, iMarkColumnWidth, iMarkGutter, iTextColor, iViewRect, iZoomFactor

Inherited from CTextListItemDrawer:
CTextListItemDrawer_Reserved_1(), ConstructL(), DoDrawItemText(), DrawActualItem(), Font(), MatcherCursorAscent(), MatcherCursorRect(), ResetGc(), SetCellWidthInChars(), SetFont(), SetGc(), iModel


Construction and destruction


CColumnListBoxItemDrawer()

Interface status: deprecatedInherited from: CColumnListBoxItemDrawer

IMPORT_C CColumnListBoxItemDrawer(MTextListBoxModel *aTextListBoxModel, const CFont *aDeprecated=0, CColumnListBoxData *aColumnData=0);

Description

Constructor.

Constructs a CColumnListBoxItemDrawer using the specified model, font and data.

Parameters

MTextListBoxModel *aTextListBoxModel

The list box model to use.

const CFont *aDeprecated

Deprecated. Has no effect.

CColumnListBoxData *aColumnData

The list box data.


~CColumnListBoxItemDrawer()

Interface status: deprecatedInherited from: CColumnListBoxItemDrawer

IMPORT_C ~CColumnListBoxItemDrawer();

Description

Empty destructor.

[Top]


Member functions


ColumnData()

Interface status: deprecatedInherited from: CColumnListBoxItemDrawer

IMPORT_C CColumnListBoxData *ColumnData() const;

Description

Gets a pointer to the column list box data. Does not imply transfer of ownership.

Return value

CColumnListBoxData *

The column list box data.


DrawItemText()

Interface status: deprecatedInherited from: CColumnListBoxItemDrawer

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

Description

Draw the specified item's text.

The text and its background are drawn highlighted if either:

aItemIsCurrent and aViewIsEmphasized are ETrue

aItemIsSelected is ETrue and the EDrawMarkSelection flag is set

Parameters

TInt aItemIndex

The index 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 emphasised. EFalse otherwise.

TBool aItemIsSelected

ETrue if the item is selected. EFalse otherwise.

Panic codes

KErrGeneral

if the listbox is in an invalid state.

See also:


SetSearchStringL()

Interface status: deprecatedInherited from: CColumnListBoxItemDrawer

IMPORT_C void SetSearchStringL(const TDesC *aSearchString, const TInt aSearchStrColumn);

Description

Sets the search string and column for the column list box.

Parameters

const TDesC *aSearchString

The string for which to search.

const TInt aSearchStrColumn

The column to which the search relates.

See also:


MinimumCellSize()

Interface status: deprecatedInherited from: CColumnListBoxItemDrawer

virtual IMPORT_C TSize MinimumCellSize() const;

Description

Gets the minimum size of an item in the column list box.

Return value

TSize

The minimum size of the column list box item.

See also:


ItemWidthInPixels()

Interface status: deprecatedInherited from: CColumnListBoxItemDrawer

virtual IMPORT_C TInt ItemWidthInPixels(TInt aItemIndex) const;

Description

Gets the width of the specified item in pixels.

Parameters

TInt aItemIndex

The index of the item for which the width is obtained. Not used.

Return value

TInt

The width of the specified item in pixels.

See also:


Properties()

Interface status: deprecatedInherited from: CColumnListBoxItemDrawer

virtual IMPORT_C TListItemProperties Properties(TInt aItemIndex) const;

Description

Parameters

TInt aItemIndex

Return value

TListItemProperties

See also: