TListItemProperties Class Reference

class TListItemProperties

The TListItemProperties class packages together the color and style properties which can be applied when drawing the contents of list box items.

Symbian ER5U

Constructor & Destructor Documentation

TListItemProperties()

IMPORT_CTListItemProperties()

C++ default constructor.

Member Functions Documentation

Color()

TRgb Color()const [inline]

Gets the list item s colour.

The list item s colour.

IsBold()

TBool IsBold()const [inline]

Tests whether the list item is drawn bold.

ETrue if the list item is drawn bold. EFalse otherwise.

IsDimmed()

TBool IsDimmed()const [inline]

Tests list item dim state.

An item is usually drawn dimmed to indicate that it cannot accept user input.

ETrue if the list item is dimmed. EFalse otherwise.

IsItalics()

TBool IsItalics()const [inline]

Tests whether the list item is italicised.

ETrue if the list item is drawn in italics. EFalse otherwise.

IsSelectionHidden()

TBool IsSelectionHidden()const [inline]

Check if the item is hidden.

ETrue if item is hidden.

IsSeparatorAfter()

TBool IsSeparatorAfter()const [inline]

Check if separator after item is active.

ETrue if Active. EFalse if Deactivated.

IsUnderlined()

TBool IsUnderlined()const [inline]

Test whether the list item is drawn with an underline.

ETrue if the list item is drawn with an underline. EFalse otherwise.

SetBold(TBool)

voidSetBold(TBoolaBold)[inline]

Sets whether the list item is drawn bold or not bold.

Parameters

TBool aBoldETrue to draw the list item bold. EFalse otherwise.

SetColor(TRgb)

voidSetColor(TRgbaColor)[inline]

Sets the list item s colour.

Parameters

TRgb aColorThe list item s colour.

SetDimmed(TBool)

voidSetDimmed(TBoolaDimmed)[inline]

Sets list item dim state.

An item is usually drawn dimmed to indicate that it cannot accept user input.

Parameters

TBool aDimmedETrue to draw the list item dimmed. EFalse otherwise.

SetHiddenSelection(TBool)

voidSetHiddenSelection(TBoolaHidden)[inline]

Select to hide the item .

Parameters

TBool aHiddenDefines whether the item is hidden. ETrue = Hidden

SetItalics(TBool)

voidSetItalics(TBoolaItalics)[inline]

Sets whether or not the list item is drawn in italics.

Parameters

TBool aItalicsETrue to draw the list item in italics. EFalse otherwise.

SetSeparatorAfter(TBool)

voidSetSeparatorAfter(TBoolaSeparator)[inline]

Activate/deactivate separator after item.

Parameters

TBool aSeparatorActive/deactive selector. ETrue = Active. EFalse = Deactivated.

SetUnderlined(TBool)

voidSetUnderlined(TBoolaUnderlined)[inline]

Sets whether or not the list item is drawn with an underline.

Parameters

TBool aUnderlinedETrue to draw the list item with an underline. EFalse otherwise.

Member Enumerations Documentation

Enum anonymous

Enumerators

ELbxItemBold = 0x0001
ELbxItemItalics = 0x0002
ELbxItemUnderlined = 0x0004
ELbxItemDimmed = 0x0008
ELbxItemSeparatorAfter = 0x0010
ELbxItemSelectionHidden = 0x0020

Member Data Documentation

TRgb iColor

TRgb iColor[private]

TUint iFlags

TUint iFlags[private]