CPeninputCommonLayoutExt Class Reference
class CPeninputCommonLayoutExt : public CFepUiLayout
|
Peninput common layout
peninputcommonlayout.lib
-
Since
-
S60 v3.2
Inherited Functions
|
|
CBase::CBase()
|
|
CBase::Delete(CBase *)
|
|
CBase::Extension_(TUint,TAny *&,TAny *)
|
|
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()
|
|
CFepUiLayout::AddControlL(CCoeControl *,TBool)
|
|
CFepUiLayout::AddControlL(CFepUiBaseCtrl *,TBool)
|
|
CFepUiLayout::BaseConstructL()
|
|
CFepUiLayout::CFepUiLayout(MLayoutOwner *)
|
|
CFepUiLayout::ChangeFeedbackArea(TInt,const TRect &,const TRect &)
|
|
CFepUiLayout::ChangeFeedbackType(TInt,TInt)
|
|
CFepUiLayout::ControlList()
|
|
CFepUiLayout::CreateCursor()
|
|
CFepUiLayout::DeRegisterFeedbackArea(TInt,const TRect &)
|
|
CFepUiLayout::Destroy()
|
|
CFepUiLayout::DisableLayoutDrawing(TBool)
|
|
CFepUiLayout::DoTactileFeedback(TInt)
|
|
CFepUiLayout::DoTactileFeedback(TInt,TBool,TBool)
|
|
CFepUiLayout::Draw()
|
|
CFepUiLayout::EnableLayoutMoving(CDragBar *)
|
|
CFepUiLayout::GetEnabledPluginMode()
|
|
CFepUiLayout::GetInputContextFieldMaxLen()
|
|
CFepUiLayout::HandleAppInfoChange(const TDesC &,TPeninputAppInfo)
|
|
CFepUiLayout::HandleEventL(TEventType,const TAny *)
|
|
CFepUiLayout::LayoutOwner()
|
|
CFepUiLayout::LayoutReady()
|
|
CFepUiLayout::LockArea(const TRect &,CFepUiBaseCtrl *)
|
|
CFepUiLayout::LockareaOwner()const
|
|
CFepUiLayout::LockedArea()
|
|
CFepUiLayout::NotDrawToLayoutDevice()
|
|
CFepUiLayout::OnActivate()
|
|
CFepUiLayout::OnDeActivate()
|
|
CFepUiLayout::OnResourceChange(TInt)
|
|
CFepUiLayout::OnSkinChange()
|
|
CFepUiLayout::Position()
|
|
CFepUiLayout::Rect()
|
|
CFepUiLayout::RegisterFeedbackArea(TInt,const TRect &)
|
|
CFepUiLayout::RegisterFeedbackArea(TInt,const TRect &,TInt)
|
|
CFepUiLayout::RemoveControl(CCoeControl *)
|
|
CFepUiLayout::RemoveControl(CFepUiBaseCtrl *)
|
|
CFepUiLayout::RootControl()
|
|
CFepUiLayout::ScreenSize()
|
|
CFepUiLayout::SemiTransparencyRequired()
|
|
CFepUiLayout::SetAppEditorCursor(const TCursorSelection &,TBool)
|
|
CFepUiLayout::SetLayoutPos(const TPoint &)
|
|
CFepUiLayout::SetRect(const TRect &)
|
|
CFepUiLayout::SetScreenSize(const TSize &)
|
|
CFepUiLayout::SetShadowAreaRect(const TRect &,TShadowBitmapIndex)
|
|
CFepUiLayout::SetShadowBmp(CFbsBitmap *,CFbsBitmap *,TShadowBitmapIndex)
|
|
CFepUiLayout::SetShadowRect(const TRect &)
|
|
CFepUiLayout::SignalOwner(TInt,const TDesC &)
|
|
CFepUiLayout::SkinInstance()
|
|
CFepUiLayout::SupportTactileFeedback()
|
|
CFepUiLayout::TouchFeedbackInstance()
|
|
CFepUiLayout::UnLockArea(const TRect &,CFepUiBaseCtrl *)
|
|
CFepUiLayout::UpdateArea(const CFepUiBaseCtrl *,const TRect &,TBool,TBool)
|
|
CFepUiLayout::~CFepUiLayout()
|
Constructor & Destructor Documentation
CPeninputCommonLayoutExt(MLayoutOwner *)
IMPORT_C
|
CPeninputCommonLayoutExt
|
(
|
MLayoutOwner
*
|
aLayoutOwner
|
)
|
[protected]
|
2nd phase construction - constructor
~CPeninputCommonLayoutExt()
IMPORT_C
|
~CPeninputCommonLayoutExt
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ChangeInputLanguage(TInt)
void
|
ChangeInputLanguage
|
(
|
TInt
|
aLangID
|
)
|
[private]
|
Parameters
TInt
aLangID
|
The language id you want to change to
|
ChangeRange(TInt)
void
|
ChangeRange
|
(
|
TInt
|
aRange
|
)
|
[private]
|
Parameters
TInt
aRange
|
The range need to set
|
ConstructL(const TAny *)
IMPORT_C void
|
ConstructL
|
(
|
const
TAny
*
|
aInitData
|
)
|
[protected]
|
2nd phase construction - second constructor
Parameters
const
TAny
* aInitData
|
Init data of layout
|
CreateDataMgrL(const TAny *)
void
|
CreateDataMgrL
|
(
|
const
TAny
*
|
aInitData
|
)
|
[protected, pure virtual]
|
Factory method for creation resource config. It is enough at present to create and initialize resource config. Any necessary extension will be implemented in subclasses.
CreateLayoutWindowL()
void
|
CreateLayoutWindowL
|
(
|
)
|
[protected, pure virtual]
|
Factory method for creation of layout window. The decision which layout window(VKB or HWR) is created will be postboned in subclasses of this class.
HandleCommand(TInt, TUint8 *)
Parameters
TInt
aCmd
|
Command Id
|
TUint8
* aData
|
Data for command
|
HandleControlEvent(TInt, CFepUiBaseCtrl *, const TDesC &)
HandleRawKeyEventL(const TRawEvent &)
IMPORT_C
TBool
|
HandleRawKeyEventL
|
(
|
const
TRawEvent
&
|
aKeyEvent
|
)
|
[virtual]
|
Parameters
const
TRawEvent
& aKeyEvent
|
The key raw event data
|
Init()
IMPORT_C
TRect
|
Init
|
(
|
)
|
[protected, virtual]
|
IsCapsLockPermitted()
IMPORT_C
TBool
|
IsCapsLockPermitted
|
(
|
)
|
|
IsShiftPermitted()
IMPORT_C
TBool
|
IsShiftPermitted
|
(
|
)
|
|
IsValidDestination(const TRect &, CDragBar *, TBool &, TBool &, TBool)
From
CFepUiLayout
Test whether the position is valid This is used to test the target position when draging controls to some place
Parameters
const
TRect
& aRect
|
The rect to be checked
|
CDragBar
* aDragBar
|
|
TBool
& aVInfo
|
The valid information in vertial dirtection. ETrue is vertical moving is valid.It's only used when aRect is not valid but moving in vertical direction is valid
|
TBool
& aHInfo
|
The valid information in horizontal dirtection ETrue is horizontal moving is valid.It's only used when aRect is not valid but moving in vertical direction is valid
|
TBool
aFlag
|
ETrue if whole layout is moving, otherwise, only components moving
|
LayoutType()
TInt
|
LayoutType
|
(
|
)
|
[protected, pure virtual]
|
Get the layout type, vkb or hwr, child class must rewrite the function.
OnAppEditorTextComing(const TFepInputContextFieldData &)
From
CFepUiLayout
Handle editor text coming Called by animation dll when app editor text is coming If a ui layout has a editor area, it must implements this function to get the text
PenInputType()
IMPORT_C
TInt
|
PenInputType
|
(
|
)
|
[virtual]
|
From
CFepUiLayout
Get the layout type, vkb or hwr. It's now similar to LayoutType which defines in another interface.
RequestData(TPeninputDataType)
IMPORT_C
TAny
*
|
RequestData
|
(
|
TPeninputDataType
|
aDataType
|
)
|
|
Request data from data provider
Parameters
TPeninputDataType
aDataType
|
The data request
|
SaveKey(TInt, TInt)
IMPORT_C void
|
SaveKey
|
(
|
TInt
|
aKey,
|
|
TInt
|
aValue
|
|
)
|
[protected, virtual]
|
Save a virtual keybroad key to the repository
Parameters
TInt
aKey
|
The key name in repository
|
TInt
aValue
|
The unicode of key
|
SendEventToLayout(TInt, CFepUiBaseCtrl *, const TDesC &)
SendEventToWindow(TInt, CFepUiBaseCtrl *, const TDesC &)
Sendkey(TInt, const TDesC &)
SetData(TPeninputDataType, TAny *)
IMPORT_C void
|
SetData
|
(
|
TPeninputDataType
|
aDataType,
|
|
TAny
*
|
aData
|
|
)
|
|
Parameters
TPeninputDataType
aDataType
|
Data type
|
TAny
* aData
|
Data value
|
SetEnableSettingBtn(TBool)
void
|
SetEnableSettingBtn
|
(
|
TBool
|
aEnable
|
)
|
[private]
|
Set if enable option button and language switch button
Parameters
TBool
aEnable
|
The enable flag
|
SetEnableSwitchToHwr(TBool)
void
|
SetEnableSwitchToHwr
|
(
|
TBool
|
aEnable
|
)
|
[private]
|
Set if enable switch to hwr
Parameters
TBool
aEnable
|
The enable flag
|
SetPositionFromOutside(const TPoint &)
IMPORT_C void
|
SetPositionFromOutside
|
(
|
const
TPoint
&
|
aNewPos
|
)
|
|
SetPositionFromOutside. Inform UI that the position is change from outside of UI.
SizeChanged(const TAny *)
IMPORT_C
TInt
|
SizeChanged
|
(
|
const
TAny
*
|
aData
|
)
|
[virtual]
|
Parameters
const
TAny
* aData
|
The event data
|
TranslateRange(TInt)
TInt
|
TranslateRange
|
(
|
TInt
|
aRange
|
)
|
[private]
|
Translate range for some languages
Parameters
TInt
aRange
|
The range need to set
|
Member Data Documentation
CPeninputDataMgr * iDataMgr
CPeninputLayoutWindowExt * iLayoutWindow
CPeninputUiStateMgr * iUiStateMgr
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.