| class CMsgHeader : public CMsgFormComponent |
Defines header control container for message editors/viewers.
| Public Member Functions | |
|---|---|
| ~CMsgHeader () | |
| CCoeControl * | ComponentControl ( TInt ) |
| TInt | CountComponentControls () |
| void | Draw (const TRect &) |
| TBool | HitRegionContains (const TPoint &, const CCoeControl &) |
| CMsgHeader * | NewL (const CCoeControl &, const TMargins &) |
| void | SetAndGetSizeL ( TSize &, TBool ) |
| Protected Member Functions | |
|---|---|
| void | FocusChanged ( TDrawNow ) |
| void | SizeChanged () |
| Private Member Functions | |
|---|---|
| CMsgHeader () | |
| CMsgHeader (const TMargins &) | |
| void | ConstructL (const CCoeControl &) |
| Inherited Enumerations | |
|---|---|
| CCoeControl:TZoomType | |
| Private Attributes | |
|---|---|
| CMsgCaptionedHighlight * | iFrame |
| CMsgDummyHeaderCleaner * | iHeaderCleaner |
| CMsgHeader | ( | const TMargins & | aMargins | ) | [private] |
Constructor.
| const TMargins & aMargins |
| CCoeControl * | ComponentControl | ( | TInt | aIndex | ) | const [virtual] |
Returns a control of index aIndex.
| TInt aIndex |
| void | ConstructL | ( | const CCoeControl & | aParent | ) | [private] |
2nd phase constructor.
| const CCoeControl & aParent |
| TInt | CountComponentControls | ( | ) | const [virtual] |
Returns a number of controls.
| void | Draw | ( | const TRect & | aRect | ) | const [virtual] |
Draws the header.
| const TRect & aRect |
| void | FocusChanged | ( | TDrawNow | aDrawNow | ) | [protected, virtual] |
This is called when the focus of the control is changed.
| TDrawNow aDrawNow |
| TBool | HitRegionContains | ( | const TPoint & | aPoint, |
| const CCoeControl & | aControl | |||
| ) | const | |||
Evaluates whether control is "hit" by touch event.
| const TPoint & aPoint | |
| const CCoeControl & aControl |
| CMsgHeader * | NewL | ( | const CCoeControl & | aParent, |
| const TMargins & | aMargins | |||
| ) | [static] | |||
Factory method that creates this control.
| const CCoeControl & aParent | |
| const TMargins & aMargins |
| void | SetAndGetSizeL | ( | TSize & | aSize, |
| TBool | aInit | |||
| ) | [virtual] | |||
Calculates and sets the size for the header and returns new size as reference aSize. If aInit == ETrue, sets also size for the controls by calling their SetAndGetSizeL functions.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.