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.

Since
Symbian ER5U

Constructor & Destructor Documentation

TListItemProperties()

IMPORT_C TListItemProperties ( )

C++ default constructor.

Member Functions Documentation

Color()

TRgb Color ( ) const [inline]

Gets the list item s colour.

IsBold()

TBool IsBold ( ) const [inline]

Tests whether the list item is drawn bold.

IsDimmed()

TBool IsDimmed ( ) const [inline]

Tests list item dim state.

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

IsItalics()

TBool IsItalics ( ) const [inline]

Tests whether the list item is italicised.

IsSelectionHidden()

TBool IsSelectionHidden ( ) const [inline]

Check if the item is hidden.

IsSeparatorAfter()

TBool IsSeparatorAfter ( ) const [inline]

Check if separator after item is active.

IsUnderlined()

TBool IsUnderlined ( ) const [inline]

Test whether the list item is drawn with an underline.

SetBold(TBool)

void SetBold ( TBool aBold ) [inline]

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

Parameters

TBool aBold ETrue to draw the list item bold. EFalse otherwise.

SetColor(TRgb)

void SetColor ( TRgb aColor ) [inline]

Sets the list item s colour.

Parameters

TRgb aColor The list item s colour.

SetDimmed(TBool)

void SetDimmed ( TBool aDimmed ) [inline]

Sets list item dim state.

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

Parameters

TBool aDimmed ETrue to draw the list item dimmed. EFalse otherwise.

SetHiddenSelection(TBool)

void SetHiddenSelection ( TBool aHidden ) [inline]

Select to hide the item .

Parameters

TBool aHidden Defines whether the item is hidden. ETrue = Hidden

SetItalics(TBool)

void SetItalics ( TBool aItalics ) [inline]

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

Parameters

TBool aItalics ETrue to draw the list item in italics. EFalse otherwise.

SetSeparatorAfter(TBool)

void SetSeparatorAfter ( TBool aSeparator ) [inline]

Activate/deactivate separator after item.

Parameters

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

SetUnderlined(TBool)

void SetUnderlined ( TBool aUnderlined ) [inline]

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

Parameters

TBool aUnderlined ETrue 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]