CPeninputJapaneseCandidateWnd Class Reference

class CPeninputJapaneseCandidateWnd : public CFepLayoutPopupWnd

Inherits from

Public Member Functions
~CPeninputJapaneseCandidateWnd ()
void CancelScrollBarRepeat ()
IMPORT_C TInt CurrentItemIndex ()
void HandleListBoxEventL ( CEikListBox *, TListBoxEvent)
CFepUiBaseCtrl * HandlePointerDownEventL (const TPoint &)
CFepUiBaseCtrl * HandlePointerMoveEventL (const TPoint &)
CFepUiBaseCtrl * HandlePointerUpEventL (const TPoint &)
void HandleTimerOut (const CAknFepTimer *)
IMPORT_C void HidePopup ()
TInt HitTest (const TPoint &)
CPeninputJapaneseCandidateListBox * ListBox ()
void MoveToL ( TPeninputUICtrlScroll )
IMPORT_C CPeninputJapaneseCandidateWnd * NewL ( CFepUiLayout *, TInt , const CCoeControl *)
void OnDeActivate ()
void SetIcf ( CFepInputContextFieldJp *)
IMPORT_C void SetPosition (const TPoint &)
IMPORT_C void SetRect (const TRect &)
IMPORT_C void ShowPopupL ( CDesCArrayFlat *, TInt )
void UpdateMaximumRows ( TInt , TInt )
Protected Member Functions
CPeninputJapaneseCandidateWnd ( CFepUiLayout *, TInt )
Private Member Functions
void ConstructL (const CCoeControl *)
void Draw ()
void DrawTitle ()
TInt MaximumColumns (const CTextListBoxModel *)
TInt MaximumRows (const CTextListBoxModel *)
void ReDraw ()
void SendPointerEventL (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
enum TPeninputUICtrlScroll { 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
TPointerEvent iScrollBarPointerEvent
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,
TInt aControlId
) [protected]

Constructor.

Since
S60 V4.0

Parameters

CFepUiLayout * aUiLayout Ui layout who contains this control.Ownership not transferred
TInt aControlId control Id

~CPeninputJapaneseCandidateWnd()

~CPeninputJapaneseCandidateWnd ( ) [virtual]

Destructor.

Member Functions Documentation

CancelScrollBarRepeat()

void CancelScrollBarRepeat ( )

Cancel ScrollBar repeat

Since
S60 v3.2

ConstructL(const CCoeControl *)

void ConstructL ( const CCoeControl * aParent ) [private]

Symbian 2nd phase constructor can leave.

Parameters

const CCoeControl * aParent

CurrentItemIndex()

IMPORT_C TInt CurrentItemIndex ( ) const
Since
2.6

Draw()

void Draw ( ) [private, virtual]

from CFepUiBaseCtrl Called by the framework to draw the control

DrawTitle()

void DrawTitle ( ) [private]

Draw Title

HandleListBoxEventL(CEikListBox *, TListBoxEvent)

void HandleListBoxEventL ( CEikListBox * aListBox,
TListBoxEvent aEventType
) [virtual]

Handle pointer up event

Since
S60 V4.0

Parameters

CEikListBox * aListBox ListBox control
TListBoxEvent aEventType

HandlePointerDownEventL(const TPoint &)

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

Handle pointer down event

Since
S60 V4.0

Parameters

const TPoint & aPoint The 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 & aPoint The 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 & aPoint The point position relative the layout

HandleTimerOut(const CAknFepTimer *)

void HandleTimerOut ( const CAknFepTimer * aTimer )

from MAknFepTimerHandler HandleTimerOut. Handling time out event

Since
S60 v3.2

Parameters

const CAknFepTimer * aTimer The timer which sending the request

HidePopup()

IMPORT_C void HidePopup ( )
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 & aPoint The 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 * aModel listbox 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 * aModel listbox model object

MoveToL(TPeninputUICtrlScroll)

void MoveToL ( TPeninputUICtrlScroll aDirection )

Parameters

TPeninputUICtrlScroll aDirection

NewL(CFepUiLayout *, TInt, const CCoeControl *)

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

Two-phased constructor.

CPeninputJapaneseCandidateWnd class.

Parameters

CFepUiLayout * aUiLayout
TInt aControlId
const CCoeControl * aParent

OnDeActivate()

void OnDeActivate ( ) [virtual]

From CFepUiBaseCtrl DeActivate popup window

Since
S60 V4.0

ReDraw()

void ReDraw ( ) [private]

ReDraw

SendPointerEventL(const TPointerEvent &, TInt, TBool)

void SendPointerEventL ( const TPointerEvent & aPointerEvent,
TInt aFlags,
TBool aDraw
) [private]

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

Parameters

const TPointerEvent & aPointerEvent Details of the pointer event that is being handled.
TInt aFlags 1: to ListBox otherwise:to ScrollBar
TBool aDraw ETrue: Draw if to ScrollBar EFalse: not Draw

SetIcf(CFepInputContextFieldJp *)

void SetIcf ( CFepInputContextFieldJp * aInputContextField )
Since
2.6

Parameters

CFepInputContextFieldJp * aInputContextField

SetPosition(const TPoint &)

IMPORT_C void SetPosition ( const TPoint & aPos )
Since
2.6

Parameters

const TPoint & aPos

SetRect(const TRect &)

IMPORT_C void SetRect ( const TRect & aRect ) [virtual]

From CFepUiBaseCtrl Set control's rectangle

Since
S60 V4.0

Parameters

const TRect & aRect The new control area

ShowPopupL(CDesCArrayFlat *, TInt)

IMPORT_C void ShowPopupL ( CDesCArrayFlat * aItems,
TInt aIndex
)
From MAknFepUICtrlCandidatePaneInterface Show candidate list popup window
Since
2.6

Parameters

CDesCArrayFlat * aItems array of candidate list
TInt aIndex selecting number when displaying

UpdateMaximumRows(TInt, TInt)

void UpdateMaximumRows ( TInt aUnitHeight,
TInt aUnitCount
)

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

TPointerEvent iScrollBarPointerEvent [private]

TSize iTopLeft

TSize iTopLeft [private]