CControlGroup Class Reference

class CControlGroup : public CFepUiBaseCtrl

CControlGroup

CControl group. A CControl group will consists of several controls.

feplayoutcontrol.lib
Since
S60 V4.0

Inherits from

Public Member Functions
~CControlGroup()
IMPORT_C CFepUiBaseCtrl *ActiveControl()
IMPORT_C voidAddControlL(CFepUiBaseCtrl *, TBool)
IMPORT_C CFepUiBaseCtrl *AddControlL(CCoeControl *)
voidAdjustBkCtrlPos()
IMPORT_C CFepUiBaseCtrl *At(TInt)
IMPORT_C voidBringToBackInGroup(CFepUiBaseCtrl *)
IMPORT_C voidBringToTopInGroup(CFepUiBaseCtrl *)
IMPORT_C voidCancelPointerDownL()
IMPORT_C voidConstructFromResourceL()
IMPORT_C CFepUiBaseCtrl *ControlById(TInt)
IMPORT_C CFepUiBaseCtrl *ControlByType(TControlType, TInt)
IMPORT_C CFepUiBaseCtrl *ControlForKindOfType(TStockBaseCtrlType, TInt)
const RPointerArray< CFepUiBaseCtrl > &ControlList()
IMPORT_C voidDraw()
CFepUiBaseCtrl *Find(CCoeControl *)
TInt GetIdx(const CFepUiBaseCtrl *)
TInt GetNestedLevel()
IMPORT_C voidHandlePointerEnter(const TPoint &)
IMPORT_C voidHandlePointerLeave(const TPoint &)
IMPORT_C voidHide(TBool)
IMPORT_C voidHideControl(TInt, TBool)
IMPORT_C voidHideControl(CFepUiBaseCtrl *, TBool)
IMPORT_C voidMove(const TPoint &)
TBool NeedRedrawBg()
IMPORT_C CControlGroup *NewL(CFepUiLayout *, TInt, TBool)
CControlGroup *NewL(CFepUiLayout *, CCoeControl *)
IMPORT_C TIntNumOfControls()
IMPORT_C voidOnActivate()
IMPORT_C voidOnDeActivate()
IMPORT_C voidOnLayoutDraggingEnd()
IMPORT_C voidOnLayoutDraggingStart()
const RPointerArray< CFepUiBaseCtrl > &PopCtrlList()
IMPORT_C voidReDrawRect(const TRect &)
voidRedrawRectIfNeeded(const TRect &, CFepUiBaseCtrl *)
voidRedrawRectInGrp(CFepUiBaseCtrl *, const TRect &)
IMPORT_C TBoolRemoveControl(CFepUiBaseCtrl *)
IMPORT_C CFepUiBaseCtrl *SetActiveCtrl(CFepUiBaseCtrl *)
IMPORT_C CFepUiBaseCtrl *SetActiveCtrl(TInt)
voidSetNeedRedrawBg(TBool)
CFepUiBaseCtrl *SetTempActiveCtrl(CFepUiBaseCtrl *)
voidUpdateAreaInGrp(CFepUiBaseCtrl *, const TRect &, TBool)
voidUpdateAreaInGrpImmed(CFepUiBaseCtrl *, const TRect &, TBool)
IMPORT_C voidUpdateValidRegion(CFepUiBaseCtrl *, TBool)
Protected Member Functions
CControlGroup(CFepUiLayout *, TInt)
CControlGroup(CFepUiLayout *, TInt, TBool)
voidCalculateClipRegion()
const RRegion &CalculateNonHwrStartPtArea()
IMPORT_C voidConstructL()
CFepUiBaseCtrl *ControlForPoints(const TPoint &)
IMPORT_C voidDrawControlGroupBackground(const TRect &)
IMPORT_C voidGraphicDeviceSizeChanged()
IMPORT_C CFepUiBaseCtrl *HandlePointerDownEventL(const TPoint &)
IMPORT_C CFepUiBaseCtrl *HandlePointerMoveEventL(const TPoint &)
IMPORT_C CFepUiBaseCtrl *HandlePointerUpEventL(const TPoint &)
IMPORT_C voidHandleResourceChange(TInt)
Private Member Functions
voidAddSubRegionL(CFepUiBaseCtrl *)
voidCalculateClipRegion(CFepUiBaseCtrl *)
TInt FindSubRegion(CFepUiBaseCtrl *)
TBool MoveSubCtrlToBack(CFepUiBaseCtrl *, RPointerArray< CFepUiBaseCtrl > &)
TBool MoveSubCtrlToTop(CFepUiBaseCtrl *, RPointerArray< CFepUiBaseCtrl > &)
voidOnDeActivateL()
voidRemoveCtrlFromSubCtrlInfoList(CFepUiBaseCtrl *)
TBool RemoveOwnedControl(CFepUiBaseCtrl *)
voidRemoveSubRegion(TInt)
voidSaveSubCtrlShownState()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CFepUiBaseCtrl::AbleToDraw()
CFepUiBaseCtrl::AbsOrderPos()
CFepUiBaseCtrl::ActiveExtResponseArea()
CFepUiBaseCtrl::AddEventObserver(MEventObserver *)
CFepUiBaseCtrl::AllowOverlap()
CFepUiBaseCtrl::BackgroundBmp()
CFepUiBaseCtrl::BaseConstructL()
CFepUiBaseCtrl::BaseConstructL(CFepUiLayoutRootCtrl *)
CFepUiBaseCtrl::BitGc()
CFepUiBaseCtrl::BitmapDevice()
CFepUiBaseCtrl::BkColor()
CFepUiBaseCtrl::BkMaskBmp()
CFepUiBaseCtrl::BorderColor()
CFepUiBaseCtrl::BorderSize()
CFepUiBaseCtrl::BringToBack()
CFepUiBaseCtrl::BringToTop()
CFepUiBaseCtrl::CFepUiBaseCtrl(CCoeControl *,CFepUiLayout *,TBool)
CFepUiBaseCtrl::CFepUiBaseCtrl(const TRect &,CFepUiLayout *,TInt)
CFepUiBaseCtrl::CancelExtResponseArea()
CFepUiBaseCtrl::CapturePointer(TBool)
CFepUiBaseCtrl::Clear()
CFepUiBaseCtrl::ClearRect(const TRect &)
CFepUiBaseCtrl::CompareOrder(CFepUiBaseCtrl *)
CFepUiBaseCtrl::CompareOrderInSameGroup(CFepUiBaseCtrl *)
CFepUiBaseCtrl::Contains(const TPoint &)
CFepUiBaseCtrl::ControlId()
CFepUiBaseCtrl::ControlType()
CFepUiBaseCtrl::CreateOwnDeviceL(CFbsBitmap *,CFbsBitmap *)
CFepUiBaseCtrl::DisableRegionUpdating()
CFepUiBaseCtrl::DrawBackground(TBool)
CFepUiBaseCtrl::DrawBackground(const TRect,TBool)
CFepUiBaseCtrl::DrawBackgroundToDevice(TRect,CFbsDevice *,CFbsBitmap *,const TRgb &,const TRgb &,TBool)
CFepUiBaseCtrl::DrawBitmap(const CFbsBitmap *,TBool)
CFepUiBaseCtrl::DrawBitmap(const TRect,const CFbsBitmap *,TBool)
CFepUiBaseCtrl::DrawMaskBackground(TBool)
CFepUiBaseCtrl::DrawOpaqueMaskBackground(TBool)
CFepUiBaseCtrl::DrawOpaqueMaskBackground(const TRect,TBool)
CFepUiBaseCtrl::DrawShadow()
CFepUiBaseCtrl::DrawTransparentMaskBackground(const TRect &,TBool)
CFepUiBaseCtrl::EnableExtResponseArea(TBool,const TRect &)
CFepUiBaseCtrl::EnableRegionUpdating()
CFepUiBaseCtrl::Extension_(TUint,TAny *&,TAny *)
CFepUiBaseCtrl::HandlePositionChange(const TPoint &)
CFepUiBaseCtrl::Hiden()
CFepUiBaseCtrl::IsActive()
CFepUiBaseCtrl::IsFepBaseControl()
CFepUiBaseCtrl::IsKindOfControl(TStockBaseCtrlType)
CFepUiBaseCtrl::IsOnTopOf(CFepUiBaseCtrl *)
CFepUiBaseCtrl::MaskBitmapDevice()
CFepUiBaseCtrl::MaskBkCol()
CFepUiBaseCtrl::MovingArea()
CFepUiBaseCtrl::NONSHARABLE_CLASS(CFepUiBaseCtrlExtension)
CFepUiBaseCtrl::OrderPos()const
CFepUiBaseCtrl::Overlapped(CFepUiBaseCtrl *)
CFepUiBaseCtrl::ParentCtrl()
CFepUiBaseCtrl::PenColor()
CFepUiBaseCtrl::PenSize()
CFepUiBaseCtrl::PointerDown()
CFepUiBaseCtrl::Ready()
CFepUiBaseCtrl::Rect()
CFepUiBaseCtrl::Region()
CFepUiBaseCtrl::RemoveEventObserver(MEventObserver *)
CFepUiBaseCtrl::ReportEvent(TInt,const TDesC &)
CFepUiBaseCtrl::RequireRegionUpdateL(TBool)
CFepUiBaseCtrl::ResizeDeviceL()
CFepUiBaseCtrl::ResourceId()
CFepUiBaseCtrl::RootControl()
CFepUiBaseCtrl::SetActive(TBool)
CFepUiBaseCtrl::SetAllowOverlap(TBool)
CFepUiBaseCtrl::SetBackgroundBitmapL(CFbsBitmap *)
CFepUiBaseCtrl::SetBackgroundBmp(CFbsBitmap *)
CFepUiBaseCtrl::SetBackgroundMaskBitmapL(CFbsBitmap *)
CFepUiBaseCtrl::SetBackgroundMaskBmp(CFbsBitmap *)
CFepUiBaseCtrl::SetBkColor(const TRgb &)
CFepUiBaseCtrl::SetBorderColor(const TRgb &)
CFepUiBaseCtrl::SetBorderSize(const TSize &)
CFepUiBaseCtrl::SetControlType(TControlType)
CFepUiBaseCtrl::SetHidenFlag(TBool)
CFepUiBaseCtrl::SetMaskBkCol(const TRgb &)
CFepUiBaseCtrl::SetOrdinalPos(TInt)
CFepUiBaseCtrl::SetParent(CFepUiBaseCtrl *)
CFepUiBaseCtrl::SetPenColor(const TRgb &)
CFepUiBaseCtrl::SetPenSize(const TSize &)
CFepUiBaseCtrl::SetPointerDown(TBool)
CFepUiBaseCtrl::SetReady(TBool)
CFepUiBaseCtrl::SetRect(const TRect &)
CFepUiBaseCtrl::SetRegion(const RRegion &)
CFepUiBaseCtrl::SetResourceId(TInt32)
CFepUiBaseCtrl::SetShadowAreaRect(const TRect &,TShadowBitmapIndex)
CFepUiBaseCtrl::SetShadowBmp(CFbsBitmap *,CFbsBitmap *,TShadowBitmapIndex)
CFepUiBaseCtrl::SetShadowRect(const TRect &)
CFepUiBaseCtrl::SetTactileFeedbackType(TInt)
CFepUiBaseCtrl::ShadowAreaRect(TShadowBitmapIndex)
CFepUiBaseCtrl::ShadowRect()
CFepUiBaseCtrl::SimulateRawEvent(const TRawEvent &)
CFepUiBaseCtrl::TactileFeedbackType()const
CFepUiBaseCtrl::UiLayout()
CFepUiBaseCtrl::UpdateArea(const TRect &,TBool)
CFepUiBaseCtrl::UpdateAreaImmed(const TRect &,TBool)
CFepUiBaseCtrl::ValidClipRegion()
CFepUiBaseCtrl::WholeHiden()
CFepUiBaseCtrl::WndBasedControl()
CFepUiBaseCtrl::WndControl()
CFepUiBaseCtrl::~CFepUiBaseCtrl()
Inherited Enumerations
CFepUiBaseCtrl:TZOrder
Protected Attributes
CFepUiBaseCtrl *iActiveCtrl
RPointerArray< CFepUiBaseCtrl >iCtrlList
CFepUiBaseCtrl *iCtrlWithPointerDown
RRegion iNonHwrStartPtRegion
RPointerArray< CFepUiBaseCtrl >iOwnedCtrlList
RPointerArray< CFepUiBaseCtrl >iPopCtrlList
Private Attributes
TInt iNeedRedrawBg
TInt iReserved2
RArray< TSubCtrlShownState >iSubCtrlShowStateBeforeHiden
RPointerArray< CSubRegionArea >iSubRegionArea
CFepUiBaseCtrl *iTempActiveCtrl
Inherited Attributes
CFepUiBaseCtrl::iBorderColor
CFepUiBaseCtrl::iBorderSize
CFepUiBaseCtrl::iClipRegion
CFepUiBaseCtrl::iParentCtrl
CFepUiBaseCtrl::iPointerLeft
CFepUiBaseCtrl::iRect
CFepUiBaseCtrl::iResourceId
CFepUiBaseCtrl::iShadowAreaRect
CFepUiBaseCtrl::iShadowRect
CFepUiBaseCtrl::iUpdateFlagEnabled
CFepUiBaseCtrl::iValidRegion
CFepUiBaseCtrl::iWndControl

Constructor & Destructor Documentation

CControlGroup(CFepUiLayout *, TInt)

IMPORT_CCControlGroup(CFepUiLayout *aUiLayout,
TIntaControlId
)[protected]

Default constructor.

Since
S60 V4.0

Parameters

CFepUiLayout * aUiLayoutUi layout who contains this control
TInt aControlIdcontrol Id

CControlGroup(CFepUiLayout *, TInt, TBool)

IMPORT_CCControlGroup(CFepUiLayout *aUiLayout,
TIntaControlId,
TBoolaRedrawBg
)[protected]

Default constructor.

Since
S60 V4.0

Parameters

CFepUiLayout * aUiLayoutUi layout who contains this control
TInt aControlIdcontrol Id
TBool aRedrawBg

~CControlGroup()

IMPORT_C~CControlGroup()[virtual]

Destructor

Since
S60 V4.0

Member Functions Documentation

ActiveControl()

IMPORT_C CFepUiBaseCtrl *ActiveControl()

Get active control

Since
S60 V4.0

AddControlL(CFepUiBaseCtrl *, TBool)

IMPORT_C voidAddControlL(CFepUiBaseCtrl *aControl,
TBoolaOwnerFlag = ETrue
)

Add a control to group

Since
S60 V4.0

Parameters

CFepUiBaseCtrl * aControlNew control to be added.Ownership transferred
TBool aOwnerFlag = ETrueThe flag tells whether transfer ownership to group. ETrue if group will be the owner A owner is responsible for free the control. Deafult value is ETrue

AddControlL(CCoeControl *)

IMPORT_C CFepUiBaseCtrl *AddControlL(CCoeControl *aControl)

Add a control to group

Since
S60 V4.0

Parameters

CCoeControl * aControlNew control to be added.Ownership transferred. A CFepUiBasedCtrl will be created for this window based control

AddSubRegionL(CFepUiBaseCtrl *)

voidAddSubRegionL(CFepUiBaseCtrl *aCtrl)[private]

Parameters

CFepUiBaseCtrl * aCtrl

AdjustBkCtrlPos()

voidAdjustBkCtrlPos()

At(TInt)

IMPORT_C CFepUiBaseCtrl *At(TIntaIndex)

Get control for an position index

Since
S60 V4.0

Parameters

TInt aIndexControl index in group. Index starts from 0

BringToBackInGroup(CFepUiBaseCtrl *)

IMPORT_C voidBringToBackInGroup(CFepUiBaseCtrl *aCtrl)[virtual]

Parameters

CFepUiBaseCtrl * aCtrl

BringToTopInGroup(CFepUiBaseCtrl *)

IMPORT_C voidBringToTopInGroup(CFepUiBaseCtrl *aCtrl)[virtual]

Bring the control to top most in current control group and show it.

Since
S60 V5.0 aCtrl The control to be shown.

Parameters

CFepUiBaseCtrl * aCtrl

CalculateClipRegion()

voidCalculateClipRegion()[protected]

CalculateClipRegion(CFepUiBaseCtrl *)

voidCalculateClipRegion(CFepUiBaseCtrl *aCtrl)[private]

Parameters

CFepUiBaseCtrl * aCtrl

CalculateNonHwrStartPtArea()

const RRegion &CalculateNonHwrStartPtArea()[protected]

CancelPointerDownL()

IMPORT_C voidCancelPointerDownL()[virtual]

From CFepUiBaseCtrl Cancel pointer down event. This will be called when a control has pointer down but pointer up event happens in other ways.

Since
S60 V4.0

ConstructFromResourceL()

IMPORT_C voidConstructFromResourceL()

From CFepUiBaseCtrl Construct from resource. Handle resource change

Since
S60 V4.0

ConstructL()

IMPORT_C voidConstructL()[protected]

Symbian second phrase constructor

Since
S60 V4.0

ControlById(TInt)

IMPORT_C CFepUiBaseCtrl *ControlById(TIntaCtrlId)

Get the sub control for given control Id.

Parameters

TInt aCtrlIdThe control id

ControlByType(TControlType, TInt)

IMPORT_C CFepUiBaseCtrl *ControlByType(TControlTypeaType,
TIntaIndex = 0
)

Find qualified control in layout whose control type is exactly the same as the given one.

Since
S60 v4.0

Parameters

TControlType aTypeThe contol type
TInt aIndex = 0The control index. The nth control for such type in this group. The index is counted seperated for different control type.

ControlForKindOfType(TStockBaseCtrlType, TInt)

IMPORT_C CFepUiBaseCtrl *ControlForKindOfType(TStockBaseCtrlTypeaType,
TIntaIndex = 0
)

Find qualified control in layout according to the type and index. Unlike ControlByType, it finds all controls which is kind of such type, includes those derived controls.

Since
S60 v4.0

Parameters

TStockBaseCtrlType aTypeThe contol type
TInt aIndex = 0The control index. The nth control for such type in this group. The index is counted seperated for different control type.

ControlForPoints(const TPoint &)

CFepUiBaseCtrl *ControlForPoints(const TPoint &aPt)[protected]

Parameters

const TPoint & aPt

ControlList()

const RPointerArray< CFepUiBaseCtrl > &ControlList()const [inline]

Get control list

Since
S60 v4.0

Draw()

IMPORT_C voidDraw()[virtual]

From base class CFepUiBaseCtrl /** From CFepUiBaseCtrl Draw control

Since
S60 V4.0

DrawControlGroupBackground(const TRect &)

IMPORT_C voidDrawControlGroupBackground(const TRect &aUpdateRegion)[protected, virtual]

Draw ControlGroup Background

Since
S60 V5.0

Parameters

const TRect & aUpdateRegionThe rect to be updated

Find(CCoeControl *)

CFepUiBaseCtrl *Find(CCoeControl *aCtrl)

Check whether this control is in the control group

Since
S60 v4.0

Parameters

CCoeControl * aCtrlThe control to be found

FindSubRegion(CFepUiBaseCtrl *)

TInt FindSubRegion(CFepUiBaseCtrl *aCtrl)[private]

Parameters

CFepUiBaseCtrl * aCtrl

GetIdx(const CFepUiBaseCtrl *)

TInt GetIdx(const CFepUiBaseCtrl *aCtrl)

Parameters

const CFepUiBaseCtrl * aCtrl

GetNestedLevel()

TInt GetNestedLevel()

GraphicDeviceSizeChanged()

IMPORT_C voidGraphicDeviceSizeChanged()[protected, virtual]

Handle pen UI graphic device size change event

Since
S60 V5.0

HandlePointerDownEventL(const TPoint &)

IMPORT_C CFepUiBaseCtrl *HandlePointerDownEventL(const TPoint &aPoint)[protected, virtual]

From CFepUiBaseCtrl Handle pointer down event

Since
S60 V4.0

Parameters

const TPoint & aPointThe point position relative the layout

HandlePointerEnter(const TPoint &)

IMPORT_C voidHandlePointerEnter(const TPoint &aPoint)[virtual]

From CFepUiBaseCtrl Handle pointer enter event. This will be called only when it's got pointer down event before and pointer leaves but now comes back without pointer up event.

Since
S60 V4.0

Parameters

const TPoint & aPointcurrent pointer position

HandlePointerLeave(const TPoint &)

IMPORT_C voidHandlePointerLeave(const TPoint &aPoint)[virtual]

From CFepUiBaseCtrl Handle pointer levae event. This will be called only when it's got pointer down event before and now pointer leaves without pointer up event

Since
S60 V4.0

Parameters

const TPoint & aPointcurrent pointer position

HandlePointerMoveEventL(const TPoint &)

IMPORT_C CFepUiBaseCtrl *HandlePointerMoveEventL(const TPoint &aPoint)[protected, virtual]

From CFepUiBaseCtrl Handle pointer move event

Since
S60 V4.0

Parameters

const TPoint & aPointThe point position relative the layout

HandlePointerUpEventL(const TPoint &)

IMPORT_C CFepUiBaseCtrl *HandlePointerUpEventL(const TPoint &aPoint)[protected, virtual]

From CFepUiBaseCtrl Handle pointer up event

Since
S60 V4.0

Parameters

const TPoint & aPointThe point position relative the layout

HandleResourceChange(TInt)

IMPORT_C voidHandleResourceChange(TIntaType)[protected, virtual]

Handle system resource change

Since
S60 V5.0

Parameters

TInt aTypeThe system resource change type

Hide(TBool)

IMPORT_C voidHide(TBoolaFlag)[virtual]

From CFepUiBaseCtrl Hide or shoe control. A hiden control will not handle the event.

Since
S60 V4.0

Parameters

TBool aFlagETrue if want to hide the control.

HideControl(TInt, TBool)

IMPORT_C voidHideControl(TIntaIndex,
TBoolaFlag = ETrue
)

Hide Control

Since
S60 V4.0

Parameters

TInt aIndexcontrol index
TBool aFlag = ETruecontrol hide flag. ETrue if going to be hiden. Otherwise EFalse Deafult value is ETrue

HideControl(CFepUiBaseCtrl *, TBool)

IMPORT_C voidHideControl(CFepUiBaseCtrl *aControl,
TBoolaFlag = ETrue
)

Hide Control

Since
S60 V4.0

Parameters

CFepUiBaseCtrl * aControlThe button to be hiden
TBool aFlag = ETrueContrl hide flag. ETrue if going to be hiden. Otherwise EFalse Default value is ETrue

Move(const TPoint &)

IMPORT_C voidMove(const TPoint &aOffset)[virtual]

From CFepUiBaseCtrl Move control

Since
S60 V4.0

Parameters

const TPoint & aOffsetThe offset to be moved

MoveSubCtrlToBack(CFepUiBaseCtrl *, RPointerArray< CFepUiBaseCtrl > &)

TBool MoveSubCtrlToBack(CFepUiBaseCtrl *aCtrl,
RPointerArray< CFepUiBaseCtrl > &aList
)[private]

Parameters

CFepUiBaseCtrl * aCtrl
RPointerArray< CFepUiBaseCtrl > & aList

MoveSubCtrlToTop(CFepUiBaseCtrl *, RPointerArray< CFepUiBaseCtrl > &)

TBool MoveSubCtrlToTop(CFepUiBaseCtrl *aCtrl,
RPointerArray< CFepUiBaseCtrl > &aList
)[private]

Parameters

CFepUiBaseCtrl * aCtrl
RPointerArray< CFepUiBaseCtrl > & aList

NeedRedrawBg()

TBool NeedRedrawBg()const [inline]

NewL(CFepUiLayout *, TInt, TBool)

IMPORT_C CControlGroup *NewL(CFepUiLayout *aUiLayout,
TIntaControlId,
TBoolaRedrawBg = ETrue
)[static]

Factory function.

Since
S60 V4.0

Parameters

CFepUiLayout * aUiLayoutUi layout who contains this control.Ownership not transferred
TInt aControlIdcontrol Id
TBool aRedrawBg = ETrue

NewL(CFepUiLayout *, CCoeControl *)

CControlGroup *NewL(CFepUiLayout *aUiLayout,
CCoeControl *aControl
)

Parameters

CFepUiLayout * aUiLayout
CCoeControl * aControl

NumOfControls()

IMPORT_C TIntNumOfControls()

Get control counts

Since
S60 V4.0

OnActivate()

IMPORT_C voidOnActivate()[virtual]

From CFepUiBaseCtrl OnActivate. Called when the layout is going to be shown.

Since
S60 v4.0

OnDeActivate()

IMPORT_C voidOnDeActivate()[virtual]

From CFepUiBaseCtrl OnDeActivate. Called when the layout is going to be hidden

Since
S60 v4.0

OnDeActivateL()

voidOnDeActivateL()[private]

OnLayoutDraggingEnd()

IMPORT_C voidOnLayoutDraggingEnd()[virtual]

From CFepUiBaseCtrl Call back function when layout ends dragging

Since
S60 V4.0

OnLayoutDraggingStart()

IMPORT_C voidOnLayoutDraggingStart()[virtual]

From CFepUiBaseCtrl Call back function when layout starts dragging

Since
S60 V4.0

PopCtrlList()

const RPointerArray< CFepUiBaseCtrl > &PopCtrlList()const [inline]

ReDrawRect(const TRect &)

IMPORT_C voidReDrawRect(const TRect &aRect)[virtual]

From CFepUiBaseCtrl Redraws the content in a control

Since
S60 V4.0

Parameters

const TRect & aRectThe rect to be redrawed

RedrawRectIfNeeded(const TRect &, CFepUiBaseCtrl *)

voidRedrawRectIfNeeded(const TRect &aRect,
CFepUiBaseCtrl *aCtrl
)

Redraws the content in a control if needed. The redraw is caused by aCtrl's updating aRect.

Since
S60 V5.0

Parameters

const TRect & aRectThe rect to be redrawed
CFepUiBaseCtrl * aCtrlThe control who initiates the updating.

RedrawRectInGrp(CFepUiBaseCtrl *, const TRect &)

voidRedrawRectInGrp(CFepUiBaseCtrl *aControl,
const TRect &aRect
)

Parameters

CFepUiBaseCtrl * aControl
const TRect & aRect

RemoveControl(CFepUiBaseCtrl *)

IMPORT_C TBoolRemoveControl(CFepUiBaseCtrl *aControl)

RemoveControl Remove a control from the control group

Since
S60 v4.0

Parameters

CFepUiBaseCtrl * aControlThe control to be removed.

RemoveCtrlFromSubCtrlInfoList(CFepUiBaseCtrl *)

voidRemoveCtrlFromSubCtrlInfoList(CFepUiBaseCtrl *aControl)[private]

Parameters

CFepUiBaseCtrl * aControl

RemoveOwnedControl(CFepUiBaseCtrl *)

TBool RemoveOwnedControl(CFepUiBaseCtrl *aControl)[private]

RemoveOwnedControl Remove a control from group's owned control list

Since
S60 v4.0

Parameters

CFepUiBaseCtrl * aControlThe control to be removed.

RemoveSubRegion(TInt)

voidRemoveSubRegion(TIntaIdx)[private]

Parameters

TInt aIdx

SaveSubCtrlShownState()

voidSaveSubCtrlShownState()[private]

SetActiveCtrl(CFepUiBaseCtrl *)

IMPORT_C CFepUiBaseCtrl *SetActiveCtrl(CFepUiBaseCtrl *aControl)[virtual]

Set control to be actived.

Since
S60 V4.0

Parameters

CFepUiBaseCtrl * aControlThe control to be set to actived. Ownership not transferred.

SetActiveCtrl(TInt)

IMPORT_C CFepUiBaseCtrl *SetActiveCtrl(TIntaIndex)

Set control to be actived

Since
S60 V4.0

Parameters

TInt aIndexThe control index. Ownership not transferred.

SetNeedRedrawBg(TBool)

voidSetNeedRedrawBg(TBoolaNeedRedrawBg)[inline]

Parameters

TBool aNeedRedrawBg

SetTempActiveCtrl(CFepUiBaseCtrl *)

CFepUiBaseCtrl *SetTempActiveCtrl(CFepUiBaseCtrl *aCtrl)

Set control to be temparory actived. When button is pressed, the control is temparary set to be actived. When button is up, it's set to be actived.

Since
S60 V4.0

Parameters

CFepUiBaseCtrl * aCtrl

UpdateAreaInGrp(CFepUiBaseCtrl *, const TRect &, TBool)

voidUpdateAreaInGrp(CFepUiBaseCtrl *aControl,
const TRect &aRect,
TBoolaUpdateFlag
)

Parameters

CFepUiBaseCtrl * aControl
const TRect & aRect
TBool aUpdateFlag

UpdateAreaInGrpImmed(CFepUiBaseCtrl *, const TRect &, TBool)

voidUpdateAreaInGrpImmed(CFepUiBaseCtrl *aControl,
const TRect &aRect,
TBoolaUpdateFlag
)

Parameters

CFepUiBaseCtrl * aControl
const TRect & aRect
TBool aUpdateFlag

UpdateValidRegion(CFepUiBaseCtrl *, TBool)

IMPORT_C voidUpdateValidRegion(CFepUiBaseCtrl *aCtrl,
TBoolaRemoveFlag
)[virtual]

Update control's valid region when other control hiding or displaying. This is usually used for HWR window to change it's writing area.

Since
S60 V4.0

Parameters

CFepUiBaseCtrl * aCtrlThe control whose displaying status changed
TBool aRemoveFlag

Member Data Documentation

CFepUiBaseCtrl * iActiveCtrl

CFepUiBaseCtrl *iActiveCtrl[protected]

Active control Not own

RPointerArray< CFepUiBaseCtrl > iCtrlList

RPointerArray< CFepUiBaseCtrl >iCtrlList[protected]

Control list for all controls

CFepUiBaseCtrl * iCtrlWithPointerDown

CFepUiBaseCtrl *iCtrlWithPointerDown[protected]

Control which gets the pointer down event Not own

TInt iNeedRedrawBg

TInt iNeedRedrawBg[private]

Reserved item1

RRegion iNonHwrStartPtRegion

RRegion iNonHwrStartPtRegion[protected]

RPointerArray< CFepUiBaseCtrl > iOwnedCtrlList

RPointerArray< CFepUiBaseCtrl >iOwnedCtrlList[protected]

Control list for all owned controls. Control group will be responsible for release owned controls

RPointerArray< CFepUiBaseCtrl > iPopCtrlList

RPointerArray< CFepUiBaseCtrl >iPopCtrlList[protected]

This is the control list for those control which must be shown on top, and which doesn't directly belong ( as a direct child of) to current group

TInt iReserved2

TInt iReserved2[private]

Reserved item2

RArray< TSubCtrlShownState > iSubCtrlShowStateBeforeHiden

RArray< TSubCtrlShownState >iSubCtrlShowStateBeforeHiden[private]

list to record sub control's hide/show state before control group is hidden

RPointerArray< CSubRegionArea > iSubRegionArea

RPointerArray< CSubRegionArea >iSubRegionArea[private]

CFepUiBaseCtrl * iTempActiveCtrl

CFepUiBaseCtrl *iTempActiveCtrl[private]

temparory active control Not own