TFindWidthOfWidestAbbreviatedMonthName Class Reference

class TFindWidthOfWidestAbbreviatedMonthName : public TFindWidthOfWidestTextItem

Finds the width in pixels of the widest abbreviated month name (for instance Jan, Feb), when displayed in a specified font.

After construction, call MaximumWidthInPixels(), defined in the base class, specifying the font.

Inherits from

Constructor & Destructor Documentation

TFindWidthOfWidestAbbreviatedMonthName()

IMPORT_CTFindWidthOfWidestAbbreviatedMonthName()

Default constructor.

Member Functions Documentation

GetFirstAndLastIndex(TInt &, TInt &)

voidGetFirstAndLastIndex(TInt &aFirstIndex,
TInt &aLastIndex
)const [private, virtual]

Gets the first and last index in the range of items.

Parameters

TInt & aFirstIndexOn return, the first index.
TInt & aLastIndexOn return, the last index.

GetTextItem(TDes &, TInt)

voidGetTextItem(TDes &aText,
TIntaIndex
)const [private, virtual]

Gets the text item at the specfied index.

Parameters

TDes & aTextOn return, the indexed text item.
TInt aIndexThe index.