API published in: S60 1st Ed
Link against: eikdlg.lib eikcoctl.lib
Required Capabilities
None
#include <eikcapca.h>
Public Member Functions |
|
IMPORT_C | CEikCapCArray (TInt aGranularity) |
Constructor. |
|
IMPORT_C | ~CEikCapCArray () |
Destructor. |
|
IMPORT_C TSize | MinimumSize () |
MinimumSize() returns minimum size for the array. |
|
IMPORT_C void | SetRect (const TRect &aRect) |
SetRect() sets the rectangle of the captionedcontrolarray. |
|
IMPORT_C void | ResetMinimumSizes () |
ResetMinimumSizes() clears size information. |
|
IMPORT_C TInt | LineIndexFromId (TInt aControlId) const |
LineIndexFromId() provides line index in array based on id number. |
|
IMPORT_C TInt | FindLineIndex (const CCoeControl *aControl) const |
FindLineIndex() finds line index based on control. |
|
IMPORT_C void | DeleteLine (TInt aIndex) |
DeleteLine() removes line from captionedcontrolarray. |
|
IMPORT_C void | AdjustAllIds (TInt aControlIdDelta) |
AdjustAllIds() modified iId fields of the captionedcontrols. |
|
IMPORT_C void | SetDensePacking (TBool aDensePacking) |
SetDensePacking() sets dense packing flag. |
|
TBool | CalcItemIndexes (TInt &aTopItemIndex, TInt &aMiddleItems, TInt &aBottomItemIndex, TSize aAreaSize) |
TInt | NumberOfTextLines () const |
TInt | NumberOfTextLinesBeforeLine (TInt aLine) const |
TInt | FindItemFromTextLine (TInt aTextLine) const |
TRect | Rect () const |
void | SetRect (const TRect &aRect, TInt aTop, TInt aMiddle, TInt aBottom) |
TInt | YPosToLine (const TRect &aRect, TInt aTop, TInt aMiddle, TInt aBottom, TInt aYCoord) |
void | CreateExtensionL () |
CEikCapCArrayExtension * | ExtensionOrNull () const |
|
Constructor. Creates CEikCapCArray with a granilarity.
|
|
Destructor. Destroys CEikCapCArray |
|
AdjustAllIds() modified iId fields of the captionedcontrols.
|
|
|
|
DeleteLine() removes line from captionedcontrolarray. Elements from CaptionedControlArray can be removed by calling DeleteLine method.
|
|
|
|
FindLineIndex() finds line index based on control. Every captionedcontrol has iControl CCoeControl which implements the control for the DLG_LINE. FindLineIndex goes through all captionedcontrols and finds the one which has aControl as it's control.
|
|
LineIndexFromId() provides line index in array based on id number. Every captionedcontrol has iId and based on the id, LineIndexFromId goes through the captionedcontrolarray and finds the captionedcontrol's position in the array based on the id provided
|
|
MinimumSize() returns minimum size for the array. MinimumSize calculates minimum possible size for the captioned control array.
|
|
|
|
|
ResetMinimumSizes() clears size information. ResetMinimumSizes goes through all captionedcontrols and resets the minimum size information of the captionedcontrols |
|
SetDensePacking() sets dense packing flag.
|
|
|
SetRect() sets the rectangle of the captionedcontrolarray. SetRect layouts the captionedcontrolarray. Captioned control rectangles are calculated based on provided rectangle and sizes of the captioned controls.
|
|