CPeninputCtrlPool Class Reference
class CPeninputCtrlPool : public CBase |
Peninput control pool class
This class is control pool. Application can use this class to manage their controls. Control creates out side and add itself to this pool. Application can get and remove one control based on control id.
peninputcommonlayout.lib
- Since
- S60 v3.2
Protected Member Functions |
---|
IMPORT_C void | Construct() |
Constructor & Destructor Documentation
~CPeninputCtrlPool()
IMPORT_C | ~CPeninputCtrlPool | ( | ) | [virtual] |
Destructor, it need to destroy all controls
Member Functions Documentation
AddControl(CFepUiBaseCtrl *)
Add one control to the pooling, the control should have one control id
Construct()
IMPORT_C void | Construct | ( | ) | [protected] |
Symbian second-phase constructor
Control(const TInt)
Get one control from the pooling according to the control id
Parameters
const TInt aControlID | Control id |
ControlByIndex(const TInt)
Get the control from the pool according to the index
Parameters
const TInt aIndex | Index in array |
ControlCount()
IMPORT_C TInt | ControlCount | ( | ) | const |
Get current control count in this pool
RemoveControl(const TInt)
IMPORT_C void | RemoveControl | ( | const TInt | aControlID | ) | |
Remove one control from the pooling
Parameters
const TInt aControlID | Control id |
Reset()
Remove all controls and delete them
Member Data Documentation
RPointerArray< CFepUiBaseCtrl > iControlList
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.