CPeninputJapaneseCandidateWnd Class Reference

class CPeninputJapaneseCandidateWnd : public CFepLayoutPopupWnd

Inherits from

Public Member Functions
~CPeninputJapaneseCandidateWnd()
voidCancelScrollBarRepeat()
IMPORT_C TIntCurrentItemIndex()
voidHandleListBoxEventL(CEikListBox *, TListBoxEvent)
CFepUiBaseCtrl *HandlePointerDownEventL(const TPoint &)
CFepUiBaseCtrl *HandlePointerMoveEventL(const TPoint &)
CFepUiBaseCtrl *HandlePointerUpEventL(const TPoint &)
voidHandleTimerOut(const CAknFepTimer *)
IMPORT_C voidHidePopup()
TInt HitTest(const TPoint &)
CPeninputJapaneseCandidateListBox *ListBox()
voidMoveToL(TPeninputUICtrlScroll)
IMPORT_C CPeninputJapaneseCandidateWnd *NewL(CFepUiLayout *, TInt, const CCoeControl *)
voidOnDeActivate()
voidSetIcf(CFepInputContextFieldJp *)
IMPORT_C voidSetPosition(const TPoint &)
IMPORT_C voidSetRect(const TRect &)
IMPORT_C voidShowPopupL(CDesCArrayFlat *, TInt)
voidUpdateMaximumRows(TInt, TInt)
Protected Member Functions
CPeninputJapaneseCandidateWnd(CFepUiLayout *, TInt)
Private Member Functions
voidConstructL(const CCoeControl *)
voidDraw()
voidDrawTitle()
TInt MaximumColumns(const CTextListBoxModel *)
TInt MaximumRows(const CTextListBoxModel *)
voidReDraw()
voidSendPointerEventL(const TPointerEvent &, TInt, TBool)
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::Hide(TBool)
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, EScrollUp, EScrollDown }
Inherited Enumerations
CFepLayoutPopupWnd:TDisplayPosition
CFepUiBaseCtrl:TZOrder
Private Attributes
CWindowGc *iAppGc
TInt iFontMaximumRows
CFepInputContextFieldJp *iInputContextField
CPeninputJapaneseCandidateListBox *iListBox
CAknFepTimer *iLongPressTimer
TInt iMaximumColumns
TInt iMaximumRows
TPoint iPos
CAknFepTimer *iRepeatTimer
TPointerEventiScrollBarPointerEvent
TSize iTopLeft
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

CPeninputJapaneseCandidateWnd(CFepUiLayout *, TInt)

CPeninputJapaneseCandidateWnd(CFepUiLayout *aUiLayout,
TIntaControlId
)[protected]

Constructor.

Since
S60 V4.0

Parameters

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

~CPeninputJapaneseCandidateWnd()

~CPeninputJapaneseCandidateWnd()[virtual]

Destructor.

Member Functions Documentation

CancelScrollBarRepeat()

voidCancelScrollBarRepeat()

Cancel ScrollBar repeat

Since
S60 v3.2

ConstructL(const CCoeControl *)

voidConstructL(const CCoeControl *aParent)[private]

Symbian 2nd phase constructor can leave.

Parameters

const CCoeControl * aParent

CurrentItemIndex()

IMPORT_C TIntCurrentItemIndex()const
Since
2.6

Draw()

voidDraw()[private, virtual]

from CFepUiBaseCtrl Called by the framework to draw the control

DrawTitle()

voidDrawTitle()[private]

Draw Title

HandleListBoxEventL(CEikListBox *, TListBoxEvent)

voidHandleListBoxEventL(CEikListBox *aListBox,
TListBoxEventaEventType
)[virtual]

Handle pointer up event

Since
S60 V4.0

Parameters

CEikListBox * aListBoxListBox control
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

HandleTimerOut(const CAknFepTimer *)

voidHandleTimerOut(const CAknFepTimer *aTimer)

from MAknFepTimerHandler HandleTimerOut. Handling time out event

Since
S60 v3.2

Parameters

const CAknFepTimer * aTimerThe timer which sending the request

HidePopup()

IMPORT_C voidHidePopup()
From MAknFepUICtrlCandidatePaneInterface 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()

CPeninputJapaneseCandidateListBox *ListBox()const
Since
2.6

MaximumColumns(const CTextListBoxModel *)

TInt MaximumColumns(const CTextListBoxModel *aModel)const [private]
This function returns maximum columns to be able to display in listbox, this function find longest candidate string in candidate list. Return 11 columns in case more than 11 columns, and minimum is 3 columns.
Since
2.6

Parameters

const CTextListBoxModel * aModellistbox model object

MaximumRows(const CTextListBoxModel *)

TInt MaximumRows(const CTextListBoxModel *aModel)const [private]
This function returns maximum rows to be able to display in listbox. Maximum is 7 rows and minimum is 3 columns.
Since
2.6

Parameters

const CTextListBoxModel * aModellistbox model object

MoveToL(TPeninputUICtrlScroll)

voidMoveToL(TPeninputUICtrlScrollaDirection)

Parameters

TPeninputUICtrlScroll aDirection

NewL(CFepUiLayout *, TInt, const CCoeControl *)

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

Two-phased constructor.

CPeninputJapaneseCandidateWnd class.

Parameters

CFepUiLayout * aUiLayout
TInt aControlId
const CCoeControl * aParent

OnDeActivate()

voidOnDeActivate()[virtual]

From CFepUiBaseCtrl DeActivate popup window

Since
S60 V4.0

ReDraw()

voidReDraw()[private]

ReDraw

SendPointerEventL(const TPointerEvent &, TInt, TBool)

voidSendPointerEventL(const TPointerEvent &aPointerEvent,
TIntaFlags,
TBoolaDraw
)[private]

Send pointer event to ListBox. Used for e.g. selecting an item from the list box.

Parameters

const TPointerEvent & aPointerEventDetails of the pointer event that is being handled.
TInt aFlags1: to ListBox otherwise:to ScrollBar
TBool aDrawETrue: Draw if to ScrollBar EFalse: not Draw

SetIcf(CFepInputContextFieldJp *)

voidSetIcf(CFepInputContextFieldJp *aInputContextField)
Since
2.6

Parameters

CFepInputContextFieldJp * aInputContextField

SetPosition(const TPoint &)

IMPORT_C voidSetPosition(const TPoint &aPos)
Since
2.6

Parameters

const TPoint & aPos

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(CDesCArrayFlat *, TInt)

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

Parameters

CDesCArrayFlat * aItemsarray of candidate list
TInt aIndexselecting number when displaying

UpdateMaximumRows(TInt, TInt)

voidUpdateMaximumRows(TIntaUnitHeight,
TIntaUnitCount
)

Update Maxrow accoding to font

Parameters

TInt aUnitHeight
TInt aUnitCount

Member Enumerations Documentation

Enum TPeninputUICtrlScroll

Enumerators

EScrollNone
EScrollUp
EScrollDown

Member Data Documentation

CWindowGc * iAppGc

CWindowGc *iAppGc[private]

Server application GC. It's used to keep the original window GC. Not Own

TInt iFontMaximumRows

TInt iFontMaximumRows[private]

The maximum row according to font

CFepInputContextFieldJp * iInputContextField

CFepInputContextFieldJp *iInputContextField[private]

The input context field Not Own

CPeninputJapaneseCandidateListBox * iListBox

CPeninputJapaneseCandidateListBox *iListBox[private]

listbox Own

CAknFepTimer * iLongPressTimer

CAknFepTimer *iLongPressTimer[private]

long press timer (Own)

TInt iMaximumColumns

TInt iMaximumColumns[private]

TInt iMaximumRows

TInt iMaximumRows[private]

TPoint iPos

TPoint iPos[private]

CAknFepTimer * iRepeatTimer

CAknFepTimer *iRepeatTimer[private]

repeat timer (Own)

TPointerEvent iScrollBarPointerEvent

TPointerEventiScrollBarPointerEvent[private]

TSize iTopLeft

TSize iTopLeft[private]