CAknNoteControl::TIndex Class Reference

#include <mw/aknnotecontrol.h>

class CAknNoteControl::TIndex

Detailed Description

Manage indexes into LAF tables

NP stands for "Note Popup"

WNP stands for "Waiting/progress Note Popup"

NWIP stands for "Note With Image Popup"

Constructor & Destructor Documentation

TIndex ( TInt, TBool, TSize )

TIndex(TIntaNumberOfLines,
TBoolaHasNti = EFalse,
TSizeaImageSize =  TSize(0, 0)
)

C++ default constructor.

ParameterDescription
aNumberOfLinesNumber of lines.
aHasNtiDetermines whether or not there is a number type indication (NTI).
aImageSizeImage size.

Member Function Documentation

Lines ( )

TInt Lines()const

Returns number of lines.

Returns: Number of lines.

NWIPWindowTextsLine1B ( TInt )

TInt NWIPWindowTextsLine1B(TIntaLineNum)const

Return Bottom index into table "Note With Image Popup Window Texts Line 1". Index is the same as the number of text lines minus one. See table in *.lay and LAF specs for working out indexes.

ParameterDescription
aLineNumLine number.

Returns: Bottom index into table "Note With Image Popup Window Texts Line 1".

NWIPWindowTextsLine1L ( TInt )

TInt NWIPWindowTextsLine1L(TIntaLineNum)const

Return Left index into table "Note With Image Popup Window Texts Line 1". Index depends on number of text lines, whether or not there is a number type indication (NTI). See table in *.lay and LAF specs for working out indexes.

ParameterDescription
aLineNumLine number.

Returns: Left index into table "Note With Image Popup Window Texts Line 1".

NWIPWindowTextsLine1R ( TInt )

TInt NWIPWindowTextsLine1R(TIntaLineNum)const

Return Right index into table "Note With Image Popup Window Texts Line 1". Index depends on number of text lines and image size. See table in *.lay and LAF specs for working out indexes.

Table has 3 dimensions:-
  • Dimension 1 is the line number

  • Dimension 2 is the image width

  • Dimension 3 is the image height

ParameterDescription
aLineNumLine number.

Returns: Right index into table "Note With Image Popup Window Texts Line 1".

NWIPWindowTextsLine1W ( TInt )

TInt NWIPWindowTextsLine1W(TIntaLineNum)const

Return Width index into table "Note With Image Popup Window Texts Line 1". Index depends on number of text lines, whether or not there is a number type indication (NTI) and image size. See table in *.lay and LAF specs for working out indexes.

Table has 4 dimensions:-
  • Dimension 1 indicates the presence of an NTI(index 0 = NO NTI, index 1 = NTI)

  • Dimension 2 is the line number

  • Dimension 3 is the image width

  • Dimension 4 is the image height

ParameterDescription
aLineNumLine number.

Returns: Width index into table "Note With Image Popup Window Texts Line 1".

PopupNoteWaitWindow ( )

TInt PopupNoteWaitWindow()const

Return indexes for table AKN_LAYOUT_WINDOW_popup_note_wait_window. If there are 0-2 lines the index is 0. If there are 3 lines the index is 1, if there are 4 lines the index is 2.

Returns: Indexes for table AKN_LAYOUT_WINDOW_popup_note_wait_window.

PopupNoteWindow ( )

TInt PopupNoteWindow()const

Return indexes for table AKN_LAYOUT_WINDOW_popup_note_window. If there are 0-2 lines the index is 0. If there are 3 lines the index is 1, if there are 4 or more lines the index is 2.

Returns: Indexes for table AKN_LAYOUT_WINDOW_popup_note_window.

WNPWindowTextsLine1 ( TInt )

TInt WNPWindowTextsLine1(TIntaLineNum)const

Return index into table "Waiting/progress Note Popup Window Texts Line 1". Index depends on the number of text lines and whether or not there is a number type indication (NTI). See table in *.lay and LAF specs for working out indexes.

ParameterDescription
aLineNumLine number.

Returns: Index into table "Waiting/progress Note Popup Window Texts Line 1".