| class CEikControlGroup : public CEikBorderedControl |
| Protected Member Functions | |
|---|---|
| IMPORT_C CCoeControl * | ComponentControl(TInt) |
| void | SetMSKVisibility(TBool) |
| IMPORT_C void | WriteInternalStateL(RWriteStream &) |
| Private Member Functions | |
|---|---|
| IMPORT_C TInt | Adjacent(TInt, TInt, TInt, TInt, TInt) |
| IMPORT_C TBool | AllSameSize() |
| IMPORT_C TInt | ControlMinimumLength(TInt) |
| IMPORT_C TSize | ControlMinimumSize(TInt) |
| IMPORT_C void | DeleteAllComponents() |
| IMPORT_C TBool | DistributeEvenly() |
| IMPORT_C void | Draw(const TRect &) |
| IMPORT_C void * | ExtensionInterface(TUid) |
| IMPORT_C TSize | LargestControlSize() |
| IMPORT_C void | Reserved_2() |
| IMPORT_C void | SizeChanged() |
| IMPORT_C TStartCorner | StartCorner() |
| Public Member Enumerations | |
|---|---|
| enum | TOrientation { ELayHorizontally = SLafControlGroup::ELayHorizontally, ELayVertically = SLafControlGroup::ELayVertically } |
| enum | TStartCorner { EFromTopLeft = SLafControlGroup::EFromTopLeft, EFromTopRight = SLafControlGroup::EFromTopRight, EFromBottomLeft = SLafControlGroup::EFromBottomLeft, EFromBottomRight = SLafControlGroup::EFromBottomRight } |
| Protected Member Enumerations | |
|---|---|
| enum | anonymous { EDistributeEvenly = 0x40, EAllSameSize = 0x80, EDisableMSKDrawing = 0x100 } |
| Inherited Enumerations | |
|---|---|
| CCoeControl:TZoomType | |
| Protected Attributes | |
|---|---|
| CArrayFix< TEikGroupControl > * | iControlArray |
| Private Attributes | |
|---|---|
| TInt | iBreadth |
| TInt | iHSpacing |
| TSize | iLargestControl |
| TInt | iLayout |
| TInt | iLength |
| TInt | iLines |
| TInt | iVSpacing |
| Inherited Attributes | |
|---|---|
| CCoeControl::iCoeEnv | |
| CCoeControl::iContext | |
| CCoeControl::iPosition | |
| CCoeControl::iSize | |
| CEikBorderedControl::iBorder | |
| IMPORT_C void | AddControlL | ( | CCoeControl * | aControl, |
| TInt | aId | |||
| ) | [virtual] | |||
AddControlL() adds a new control to the controlgroup
| CCoeControl * aControl | control to be added |
| TInt aId | id of the control |
| IMPORT_C void | AddControlL | ( | TEikGroupControl & | aGroupControl | ) | [virtual] |
AddControlL() adds new control to the controlgroup
| TEikGroupControl & aGroupControl |
| IMPORT_C TInt | Adjacent | ( | TInt | aRow, |
| TInt | aColumn, | |||
| TInt | aCtrlIndex, | |||
| TInt | aTotalRows, | |||
| TInt | aTotalColumns | |||
| ) | const [private] | |||
| IMPORT_C CCoeControl * | ComponentControl | ( | TInt | aIndex | ) | const [protected, virtual] |
| TInt aIndex |
| IMPORT_C void | ConstructL | ( | TStartCorner | aStart, |
| TOrientation | aOrientation | |||
| ) | ||||
ConstructL() constructs the CEikControlGroup
| TStartCorner aStart | corner to start |
| TOrientation aOrientation | whether controlgroup is vertical or horizontal |
| IMPORT_C CCoeControl * | Control | ( | TInt | aIndex | ) | const |
Control() returns CCoeControl pointer based on array index control in that position of the array
| TInt aIndex | index to the internal array |
| IMPORT_C CArrayFix< TEikGroupControl > * | ControlArray | ( | ) | const |
ControlArray() access to the actual array representation array
| IMPORT_C CCoeControl * | ControlById | ( | TInt | aId | ) | const |
ControlById() fetches individual controls by id
| TInt aId | id of the control |
| IMPORT_C TInt | ControlId | ( | CCoeControl * | aControl | ) | const |
ControlId() finds id of the control based on CCoeCOntrol pointer id of the control
| CCoeControl * aControl | control stored in a control group |
| IMPORT_C TInt | ControlMinimumLength | ( | TInt | aIndex | ) | [private] |
| TInt aIndex |
| IMPORT_C TSize | ControlMinimumSize | ( | TInt | aIndex | ) | const [private] |
| TInt aIndex |
| IMPORT_C void | ControlSpacing | ( | TInt & | aHSpacing, |
| TInt & | aVSpacing | |||
| ) | const | |||
ControlSpacing() gets control's spacing modifies variable to get horizontal spacing modifies variable to get vertical spacing
| IMPORT_C TInt | CountComponentControls | ( | ) | const [virtual] |
CountComponentControls returns component controls count
| IMPORT_C void | DeleteControl | ( | TInt | aIndex, |
| TInt | aCount | |||
| ) | ||||
DeleteControl() removes control from the group
| IMPORT_C void | Draw | ( | const TRect & | aRect | ) | const [private, virtual] |
From CCoeControl. Draws the border around the control. This function also clears the central area if the IsBlank() method returns ETrue.
From CCoeControl
| const TRect & aRect | Not used. |
| IMPORT_C void * | ExtensionInterface | ( | TUid | aInterface | ) | [private, virtual] |
From CAknControl
| TUid aInterface |
| IMPORT_C void | GetColorUseListL | ( | CArrayFix< TCoeColorUse > & | aColorUseList | ) | const [virtual] |
GetColorUseListL() sets the color use list of the control group
| CArrayFix< TCoeColorUse > & aColorUseList |
| IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
HandlePointerEventL() handles touch pointer events
| const TPointerEvent & aPointerEvent |
| IMPORT_C void | HandleResourceChange | ( | TInt | aType | ) | [virtual] |
HandleResourceChange() handles resource change event
| TInt aType |
| IMPORT_C TInt | IndexById | ( | TInt | aId | ) | const |
IndexById() gets array index from id index number to the array
| TInt aId | id number of the control |
| IMPORT_C void | InsertControlL | ( | TEikGroupControl & | aGroupControl, |
| TInt | aIndex | |||
| ) | ||||
InsertControlL() inserts a control to specific position
| TEikGroupControl & aGroupControl | control and its id packed to a struct |
| TInt aIndex | index of the array where new control is to be inserted |
| IMPORT_C TOrientation | Orientation | ( | ) | const |
Orientation orientation of the control group either horizontal or vertical orientation
| IMPORT_C void | SetBreadthInPixels | ( | TInt | aBreadth | ) |
SetBreadthInPixels() sets width of the control group
| TInt aBreadth | width of the control group |
| IMPORT_C void | SetControlLayout | ( | TStartCorner | aStart, |
| TOrientation | aOrientation | |||
| ) | ||||
SetControlLayout sets control layout parameters
| TStartCorner aStart | start corner |
| TOrientation aOrientation | vertical or horizontal orientation |
| IMPORT_C void | SetControlSpacing | ( | TInt | aHSpacing, |
| TInt | aVSpacing | |||
| ) | ||||
SetControlSpacing sets horizontal and vertical spacing
| IMPORT_C void | SetControlsAllSameSize | ( | ) |
SetControlsAllSameSize() sets all controls to be the same size
| IMPORT_C void | SetLengthInPixels | ( | TInt | aLength | ) |
SetLengthInPixels() sets length of the control group in pixels
| TInt aLength | length of the whole control group in pixels |
| IMPORT_C void | SetNumberOfLines | ( | TInt | aNumLines, |
| TBool | aDistributeEvenly | |||
| ) | ||||
SetNumberOfLines() sets number of lines of the control group
| IMPORT_C void | WriteInternalStateL | ( | RWriteStream & | aWriteStream | ) | const [protected, virtual] |
Writes the internal state of the control and its components to aWriteStream. Does nothing in release mode.
Designed to be overridden and base called from subclasses.
From CCoeControl
| RWriteStream & aWriteStream | A connected write stream. |
| ELayHorizontally = SLafControlGroup::ELayHorizontally | |
| ELayVertically = SLafControlGroup::ELayVertically |
| EFromTopLeft = SLafControlGroup::EFromTopLeft | |
| EFromTopRight = SLafControlGroup::EFromTopRight | |
| EFromBottomLeft = SLafControlGroup::EFromBottomLeft | |
| EFromBottomRight = SLafControlGroup::EFromBottomRight |
| CArrayFix< TEikGroupControl > * | iControlArray | [protected] |