CPeninputJapanesePredictiveWnd Class Reference

class CPeninputJapanesePredictiveWnd : public CFepLayoutPopupWnd

Inherits from

Public Member Functions
~CPeninputJapanesePredictiveWnd()
voidCancelRepeat()
TInt CurrentItemIndexOfCandidate()
voidHandleControlEvent(TInt, CFepUiBaseCtrl *, const TDesC &)
voidHandleListBoxEventL(CEikListBox *, TListBoxEvent)
CFepUiBaseCtrl *HandlePointerDownEventL(const TPoint &)
CFepUiBaseCtrl *HandlePointerMoveEventL(const TPoint &)
CFepUiBaseCtrl *HandlePointerUpEventL(const TPoint &)
voidHide(TBool)
voidHidePopup()
TInt HitTest(const TPoint &)
CPeninputJapanesePredictiveListBox *ListBox()
voidMoveTo(TPeninputUICtrlScroll)
IMPORT_C CPeninputJapanesePredictiveWnd *NewL(CFepUiLayout *, TInt, const CCoeControl *)
voidOnDeActivate()
voidReDraw()
voidSetButtons(CAknFepCtrlEventButton *, CAknFepCtrlEventButton *)
voidSetCurrentItemIndex(TInt)
voidSetLineCount(TInt)
IMPORT_C voidSetRect(const TRect &)
voidShowPopupL(const CDesCArrayFlat *, TInt)
voidSizeChanged(TInt, TInt, TInt)
Protected Member Functions
CPeninputJapanesePredictiveWnd(CFepUiLayout *, TInt)
Private Member Functions
voidActivateButtons(TBool)
voidClearList()
voidConstructL(const CCoeControl *)
voidCreateListTextArrayL(const CPredictivePopupLineInfoArray &)
voidCreatePredictivePopupLineInfoArrayL(const CDesCArrayFlat *, const TInt, const TInt)
voidDraw()
voidPredictivePopupAppendLineL(const TPtr &, CPredictivePopupElementArray *)
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()
CControlGroup::ActiveControl()
CControlGroup::AddControlL(CCoeControl *)
CControlGroup::AddControlL(CFepUiBaseCtrl *,TBool)
CControlGroup::AdjustBkCtrlPos()
CControlGroup::At(TInt)
CControlGroup::BringToBackInGroup(CFepUiBaseCtrl *)
CControlGroup::BringToTopInGroup(CFepUiBaseCtrl *)
CControlGroup::CControlGroup(CFepUiLayout *,TInt)
CControlGroup::CControlGroup(CFepUiLayout *,TInt,TBool)
CControlGroup::CalculateClipRegion()
CControlGroup::CalculateNonHwrStartPtArea()
CControlGroup::CancelPointerDownL()
CControlGroup::ConstructFromResourceL()
CControlGroup::ControlById(TInt)
CControlGroup::ControlByType(TControlType,TInt)
CControlGroup::ControlForKindOfType(TStockBaseCtrlType,TInt)
CControlGroup::ControlForPoints(const TPoint &)
CControlGroup::ControlList()const
CControlGroup::DrawControlGroupBackground(const TRect &)
CControlGroup::Find(CCoeControl *)
CControlGroup::GetIdx(const CFepUiBaseCtrl *)
CControlGroup::GetNestedLevel()
CControlGroup::GraphicDeviceSizeChanged()
CControlGroup::HandlePointerEnter(const TPoint &)
CControlGroup::HandlePointerLeave(const TPoint &)
CControlGroup::HideControl(CFepUiBaseCtrl *,TBool)
CControlGroup::HideControl(TInt,TBool)
CControlGroup::Move(const TPoint &)
CControlGroup::NeedRedrawBg()const
CControlGroup::NewL(CFepUiLayout *,CCoeControl *)
CControlGroup::NewL(CFepUiLayout *,TInt,TBool)
CControlGroup::NumOfControls()
CControlGroup::OnActivate()
CControlGroup::OnLayoutDraggingEnd()
CControlGroup::OnLayoutDraggingStart()
CControlGroup::PopCtrlList()const
CControlGroup::RedrawRectIfNeeded(const TRect &,CFepUiBaseCtrl *)
CControlGroup::RedrawRectInGrp(CFepUiBaseCtrl *,const TRect &)
CControlGroup::RemoveControl(CFepUiBaseCtrl *)
CControlGroup::SetActiveCtrl(CFepUiBaseCtrl *)
CControlGroup::SetActiveCtrl(TInt)
CControlGroup::SetNeedRedrawBg(TBool)
CControlGroup::SetTempActiveCtrl(CFepUiBaseCtrl *)
CControlGroup::UpdateAreaInGrp(CFepUiBaseCtrl *,const TRect &,TBool)
CControlGroup::UpdateAreaInGrpImmed(CFepUiBaseCtrl *,const TRect &,TBool)
CControlGroup::UpdateValidRegion(CFepUiBaseCtrl *,TBool)
CControlGroup::~CControlGroup()
CFepLayoutPopupWnd::AfterDisplayed()
CFepLayoutPopupWnd::CFepLayoutPopupWnd(const TSize &,CFepUiLayout *,TInt)
CFepLayoutPopupWnd::CloseWindow()
CFepLayoutPopupWnd::ConstructL()
CFepLayoutPopupWnd::DeterminePosition(const TRect &)
CFepLayoutPopupWnd::Display(const TPoint &)
CFepLayoutPopupWnd::Display(const TRect &)
CFepLayoutPopupWnd::Display(const TRect &,TDisplayPosition)
CFepLayoutPopupWnd::HandleResourceChange(TInt)
CFepLayoutPopupWnd::ReDrawRect(const TRect &)
CFepLayoutPopupWnd::~CFepLayoutPopupWnd()
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::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()
Public Member Enumerations
enumTPeninputUICtrlScroll { EScrollNone, EScrollLeft, EScrollRight, EScrollUp, EScrollDown }
Inherited Enumerations
CFepLayoutPopupWnd:TDisplayPosition
CFepUiBaseCtrl:TZOrder
Private Attributes
CPredictivePopupLineInfoArray *iLineInfoArray
CPeninputJapanesePredictiveListBox *iListBox
CDesCArrayFlat *iListTextArray
CAknFepCtrlEventButton *iScrollDownBtn
CAknFepCtrlEventButton *iScrollUpBtn
TInt iUnitHeight
TInt iUnitWidth
Inherited Attributes
CControlGroup::iActiveCtrl
CControlGroup::iCtrlList
CControlGroup::iCtrlWithPointerDown
CControlGroup::iNonHwrStartPtRegion
CControlGroup::iOwnedCtrlList
CControlGroup::iPopCtrlList
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

CPeninputJapanesePredictiveWnd(CFepUiLayout *, TInt)

CPeninputJapanesePredictiveWnd(CFepUiLayout *aUiLayout,
TIntaControlId
)[protected]

Constructor.

Since
S60 V4.0

Parameters

CFepUiLayout * aUiLayoutUi layout who contains this control.Ownership not transferred
TInt aControlIdcontrol Id

~CPeninputJapanesePredictiveWnd()

~CPeninputJapanesePredictiveWnd()[virtual]

Destructor.

Member Functions Documentation

ActivateButtons(TBool)

voidActivateButtons(TBoolaActive)const [private]

activateButtons or disactivate

Parameters

TBool aActive

CancelRepeat()

voidCancelRepeat()

Cancel repeat

Since
S60 v3.2

ClearList()

voidClearList()[private]

called when prediction pane is not active

ConstructL(const CCoeControl *)

voidConstructL(const CCoeControl *aParent)[private]

Symbian 2nd phase constructor can leave.

Parameters

const CCoeControl * aParent

CreateListTextArrayL(const CPredictivePopupLineInfoArray &)

voidCreateListTextArrayL(const CPredictivePopupLineInfoArray &aLineArray)[private]
Create arrary with string to show in a line
Since
2.6

Parameters

const CPredictivePopupLineInfoArray & aLineArrayarrary with line information

CreatePredictivePopupLineInfoArrayL(const CDesCArrayFlat *, const TInt, const TInt)

voidCreatePredictivePopupLineInfoArrayL(const CDesCArrayFlat *aItems,
const TIntaMaxDisplayWidthInPixel,
const TIntaFontId
)[private]
Setup array with line information in candidate list
Since
2.6

Parameters

const CDesCArrayFlat * aItemsarray with candidate string
const TInt aMaxDisplayWidthInPixelmaximum width in pixel
const TInt aFontIdfont id

CurrentItemIndexOfCandidate()

TInt CurrentItemIndexOfCandidate()const
Return a selected candidate item number currently
Since
2.6

Draw()

voidDraw()[private, virtual]

Called by the framework to draw the control

HandleControlEvent(TInt, CFepUiBaseCtrl *, const TDesC &)

voidHandleControlEvent(TIntaEventType,
CFepUiBaseCtrl *aCtrl,
const TDesC &aEventData
)

From MEventObserver Handle control event

Since
S60 v3.2

Parameters

TInt aEventTypeThe event type
CFepUiBaseCtrl * aCtrlThe control who sends the event
const TDesC & aEventDataThe event data

HandleListBoxEventL(CEikListBox *, TListBoxEvent)

voidHandleListBoxEventL(CEikListBox *aListBox,
TListBoxEventaEventType
)[virtual]

Parameters

CEikListBox * aListBox
TListBoxEvent aEventType

HandlePointerDownEventL(const TPoint &)

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

Handle pointer down event

Since
S60 V4.0

Parameters

const TPoint & aPointThe point position relative the layout

HandlePointerMoveEventL(const TPoint &)

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

Handle pointer move event

Since
S60 V4.0

Parameters

const TPoint & aPointThe point position relative the layout

HandlePointerUpEventL(const TPoint &)

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

Handle pointer up event

Since
S60 V4.0

Parameters

const TPoint & aPointThe point position relative the layout

Hide(TBool)

voidHide(TBoolaFlag)[virtual]

From CFepUiBaseCtrl Set control's rectangle

Since
S60 V4.0

Parameters

TBool aFlagETrue if want to hide the control.

HidePopup()

voidHidePopup()
From MAknFepUICtrlPredictivePaneInterface Hide candidate list popup window
Since
2.6

HitTest(const TPoint &)

TInt HitTest(const TPoint &aPoint)

Get item whose region contains the point.

Since
S60 V4.0

Parameters

const TPoint & aPointThe point position the layout

ListBox()

CPeninputJapanesePredictiveListBox *ListBox()const
Since
2.6

MoveTo(TPeninputUICtrlScroll)

voidMoveTo(TPeninputUICtrlScrollaDirection)
Since
2.6

Parameters

TPeninputUICtrlScroll aDirection

NewL(CFepUiLayout *, TInt, const CCoeControl *)

IMPORT_C CPeninputJapanesePredictiveWnd *NewL(CFepUiLayout *aUiLayout,
TIntaControlId,
const CCoeControl *aParent
)[static]

Two-phased constructor.

CPeninputJapanesePredictiveWnd class.

Parameters

CFepUiLayout * aUiLayout
TInt aControlId
const CCoeControl * aParent

OnDeActivate()

voidOnDeActivate()[virtual]

From CFepUiBaseCtrl DeActivate popup window

Since
S60 V4.0

PredictivePopupAppendLineL(const TPtr &, CPredictivePopupElementArray *)

voidPredictivePopupAppendLineL(const TPtr &aLineText,
CPredictivePopupElementArray *aElementArray
)[private]
Append to array with line information
Since
2.6

Parameters

const TPtr & aLineTextstring to show in a line
CPredictivePopupElementArray * aElementArrayarray with element information

ReDraw()

voidReDraw()

called when listbox updated

SetButtons(CAknFepCtrlEventButton *, CAknFepCtrlEventButton *)

voidSetButtons(CAknFepCtrlEventButton *aScrollUpBtn,
CAknFepCtrlEventButton *aScrollDownBtn
)
set scroll up/down button
Since
2.6

Parameters

CAknFepCtrlEventButton * aScrollUpBtn
CAknFepCtrlEventButton * aScrollDownBtn

SetCurrentItemIndex(TInt)

voidSetCurrentItemIndex(TIntaItemIndex)const
Specify the cursor position of a pop-up list
Since
2.6

Parameters

TInt aItemIndexThe index of the cursor position

SetLineCount(TInt)

voidSetLineCount(TIntaLineCount)

Set linecount

Parameters

TInt aLineCount

SetRect(const TRect &)

IMPORT_C voidSetRect(const TRect &aRect)[virtual]

From CFepUiBaseCtrl Set control's rectangle

Since
S60 V4.0

Parameters

const TRect & aRectThe new control area

ShowPopupL(const CDesCArrayFlat *, TInt)

voidShowPopupL(const CDesCArrayFlat *aItems,
TIntaIndex
)
From MAknFepUICtrlPredictivePaneInterface Show candidate list popup window
Since
2.6

Parameters

const CDesCArrayFlat * aItemsarray of candidate list
TInt aIndexselecting number when displaying

SizeChanged(TInt, TInt, TInt)

voidSizeChanged(TIntaWidth,
TIntaUnitWidth,
TIntaUnitHeight
)

Update Size

Parameters

TInt aWidth
TInt aUnitWidth
TInt aUnitHeight

Member Enumerations Documentation

Enum TPeninputUICtrlScroll

Enumerators

EScrollNone
EScrollLeft
EScrollRight
EScrollUp
EScrollDown

Member Data Documentation

CPredictivePopupLineInfoArray * iLineInfoArray

CPredictivePopupLineInfoArray *iLineInfoArray[private]

LineInfoArray Own

CPeninputJapanesePredictiveListBox * iListBox

CPeninputJapanesePredictiveListBox *iListBox[private]

listbox Own

CDesCArrayFlat * iListTextArray

CDesCArrayFlat *iListTextArray[private]

ListTextArray Own

CAknFepCtrlEventButton * iScrollDownBtn

CAknFepCtrlEventButton *iScrollDownBtn[private]

scroll down button Not Own

CAknFepCtrlEventButton * iScrollUpBtn

CAknFepCtrlEventButton *iScrollUpBtn[private]

scroll up button Not Own

TInt iUnitHeight

TInt iUnitHeight[private]

The unit height

TInt iUnitWidth

TInt iUnitWidth[private]

The unit width