class CHgScrollerWithTitle : public CCoeControl |
Compound control that compounds a static title element and HgScroller. Scroller is owned by this control but it can be accessed freely. However, user of this class should not call InitScreenL for the scroller, because it is this classes responsibility to set correct size for the HgScroller.
Public Member Functions | |
---|---|
~CHgScrollerWithTitle () | |
CCoeControl * | ComponentControl ( TInt ) |
TInt | CountComponentControls () |
void | Draw (const TRect &) |
void | FocusChanged ( TDrawNow ) |
IMPORT_C void | InitScreenL (const TRect &) |
IMPORT_C CHgScrollerWithTitle * | NewL (const TRect &, TInt , THgScrollerType , CGulIcon *) |
TKeyResponse | OfferKeyEventL (const TKeyEvent &, TEventCode ) |
IMPORT_C TSize | PreferredImageSize () |
IMPORT_C CHgScroller & | Scroller () |
void | SizeChanged () |
IMPORT_C CHgItem & | TitleItem () |
Protected Member Functions | |
---|---|
CHgScrollerWithTitle () | |
void | ConstructL (const TRect &, TInt , THgScrollerType , CGulIcon *) |
Public Member Enumerations | |
---|---|
enum |
THgScrollerType
{
EHgScrollerDoubleGraphicList , EHgScrollerDoubleTextList , EHgScrollerSingleGraphicList , EHgScrollerSingleLargeList , EHgScrollerSingleTextList , EHgScrollerGrid , EHgScrollerSingleTextListWithIcon , EHgScrollerDoubleGraphicListFlat } |
Inherited Enumerations | |
---|---|
CCoeControl:TZoomType |
Protected Attributes | |
---|---|
TRgb | iColor |
CHgListLayoutData * | iLayoutData |
CHgScroller * | iScroller |
CHgItem * | iTitleItem |
TRect | iTitleRect |
Inherited Attributes | |
---|---|
CCoeControl::iCoeEnv | |
CCoeControl::iContext | |
CCoeControl::iPosition | |
CCoeControl::iSize |
CCoeControl * | ComponentControl | ( | TInt | aIndex | ) | const [virtual] |
TInt aIndex |
void | ConstructL | ( | const TRect & | aRect, |
TInt | aItemCount, | |||
THgScrollerType | aScrollerType, | |||
CGulIcon * | aDefaultIcon | |||
) | [protected] |
const TRect & aRect | |
TInt aItemCount | |
THgScrollerType aScrollerType | |
CGulIcon * aDefaultIcon |
void | Draw | ( | const TRect & | aRect | ) | const [virtual] |
const TRect & aRect |
void | FocusChanged | ( | TDrawNow | aDrawNow | ) | [virtual] |
TDrawNow aDrawNow |
IMPORT_C void | InitScreenL | ( | const TRect & | aRect | ) |
Re-inits the grid display area.
const TRect & aRect | New display rect |
IMPORT_C CHgScrollerWithTitle * | NewL | ( | const TRect & | aRect, |
TInt | aItemCount, | |||
THgScrollerType | aScrollerType, | |||
CGulIcon * | aDefaultIcon = NULL | |||
) | [static] |
Creates new CHgScrollerWithTitle .
const TRect & aRect | Rect that the control draws onto. |
TInt aItemCount | Total count of items in the grid |
THgScrollerType aScrollerType | Type of the scroller control. |
CGulIcon * aDefaultIcon = NULL | Default icon to be used. |
TKeyResponse | OfferKeyEventL | ( | const TKeyEvent & | aKeyEvent, |
TEventCode | aType | |||
) | [virtual] |
const TKeyEvent & aKeyEvent | |
TEventCode aType |
IMPORT_C TSize | PreferredImageSize | ( | ) | [static] |
Returns preferred image size that should be used when setting image to title.
EHgScrollerDoubleGraphicList | |
EHgScrollerDoubleTextList | |
EHgScrollerSingleGraphicList | |
EHgScrollerSingleLargeList | |
EHgScrollerSingleTextList | |
EHgScrollerGrid | |
EHgScrollerSingleTextListWithIcon | |
EHgScrollerDoubleGraphicListFlat |
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.