CFepLayoutEditAreaBase Class Reference

class CFepLayoutEditAreaBase : public CFepUiBaseCtrl

Base class for lightweight Edwin-like editing area

This is not an actual control and it never actually gains focus, but it simulates it with its own cursor. This is because the FEP must never take focus, because otherwise it will mess up the functionality of the underlying application.

feplayouteng.lib
Since
S60 v4.0

Inherits from

Nested Classes and Structures

Public Member Functions
~CFepLayoutEditAreaBase()
IMPORT_C voidAdjustSelectedCompositionText(TInt &)
IMPORT_C voidCancelPointerDownL()
IMPORT_C TBoolCursorVisible()
IMPORT_C voidDraw()
IMPORT_C voidDrawContent(CBitmapContext *, const TRect &)
IMPORT_C TIntGetEditorFieldMaxLen()
IMPORT_C CFepUiBaseCtrl *HandlePointerDownEventL(const TPoint &)
IMPORT_C voidHandlePointerLeave(const TPoint &)
IMPORT_C CFepUiBaseCtrl *HandlePointerMoveEventL(const TPoint &)
IMPORT_C CFepUiBaseCtrl *HandlePointerUpEventL(const TPoint &)
TBool IsDimmed()
IMPORT_C TBoolIsFocused()
IMPORT_C voidMove(const TPoint &)
IMPORT_C voidOnActivate()
IMPORT_C voidOnDeActivate()
IMPORT_C voidOnLayoutDraggingEnd()
IMPORT_C voidOnLayoutDraggingStart()
IMPORT_C TPointPositionOfInsertionPointOnWindow()
TCursorSelection Selection()
IMPORT_C voidSetCursorVisible(TBool, TBool)
IMPORT_C voidSetDimmed(TBool)
IMPORT_C voidSetFocus(TBool)
IMPORT_C voidSetFont(const TFontSpec &)
IMPORT_C voidSetFont(const CFont *)
IMPORT_C voidSetPositionOfInsertionPointInBuffer(TInt &)
voidSetPositionOfInsertionPointInBuffer(TInt &, TInt &)
IMPORT_C voidSetRect(TRect)
IMPORT_C voidSetTextAlignmentL(TInt)
IMPORT_C voidSetTextColor(const TRgb)
voidSetTextIsSecret(TBool)
IMPORT_C voidSetTextL(const TFepInputContextFieldData &)
TBool TextIsSecret()
TInt TextLength()
voidUpdateContent(const TCursorSelection &)
IMPORT_C voidUpdateCursorSelection(const TCursorSelection &)
IMPORT_C voidUpdateValidRegion(CFepUiBaseCtrl *, TBool)
Protected Member Functions
CFepLayoutEditAreaBase(TRect, CFepUiLayout *, TInt)
IMPORT_C voidBaseConstructL()
voidCalculateDisplayTextL()
IMPORT_C TIntPositionInDisplayText(TInt)
IMPORT_C TPointPositionInWindow(TInt)
IMPORT_C TBoolPrepareForFocusGain()
IMPORT_C voidPrepareForFocusLoss()
voidScrollLeft()
voidScrollRight()
Private Member Functions
voidAdjustPostionInVisualText(const TInt, TInt &)
TBidiText::TDirectionality CharDirection(TChar)
TInt CursorDistance(TInt)
TRect DrawSelection()
TInt FindOverlappedCtrl(CFepUiBaseCtrl *)
voidIncreaseBufferL(TInt)
TInt PositionInVisualText(TInt)
TPoint PositionInVisualWindow(TInt)
voidRestoreCursorState(CFepUiBaseCtrl *)
voidRestoreCursorState(TInt)
voidSaveCursorState(CFepUiBaseCtrl *)
TInt TextWidth(TInt, TInt)
TInt UpdateSecretText(TAny *)
voidUpdateText(const TFepInputContextFieldData &)
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()
CFepUiBaseCtrl::AbleToDraw()
CFepUiBaseCtrl::AbsOrderPos()
CFepUiBaseCtrl::ActiveExtResponseArea()
CFepUiBaseCtrl::AddEventObserver(MEventObserver *)
CFepUiBaseCtrl::AllowOverlap()
CFepUiBaseCtrl::BackgroundBmp()
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::ConstructFromResourceL()
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::GraphicDeviceSizeChanged()
CFepUiBaseCtrl::HandlePointerEnter(const TPoint &)
CFepUiBaseCtrl::HandlePositionChange(const TPoint &)
CFepUiBaseCtrl::HandleResourceChange(TInt)
CFepUiBaseCtrl::Hide(TBool)
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::ReDrawRect(const TRect &)
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::SetRect(const TRect &)
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()
Inherited Enumerations
CFepUiBaseCtrl:TZOrder
Protected Attributes
HBufC *iBuffer
TRect iCorrectedRect
TBool iCursorSelVisible
TBool iCursorVisible
TBool iDimmed
TPtrC iDisplayText
TCursorSelection iDisplayTextCurSel
TInt iDisplayTextOffset
CFont *iFont
TBool iFontOwnership
TFontSpec iFontSpec
TBool iHasFocus
TBool iInDragging
CInsertionPoint *iInsertionPoint
TBool iMfneEditor
CFepUiBaseCtrl *iPreCaptureCtrl
TInt iRelativePos
TBool iScrolling
CPeriodic *iSecretTextTimer
TCursorSelection iSelectedCompositionText
TRgb iTextColor
TBidiText::TDirectionality iTextDirection
TBool iTextIsSecret
TCursorSelection iUncommittedText
HBufC *iVisualBuffer
TPtrC iVisualText
TBool isCenter
Private Attributes
RArray< TOverlappedInfo >iOverlappedCtrlList
TInt iReserved1
TInt iReserved2
Inherited Attributes
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

CFepLayoutEditAreaBase(TRect, CFepUiLayout *, TInt)

IMPORT_CCFepLayoutEditAreaBase(TRectaRect,
CFepUiLayout *aUiLayout,
TIntaControlId
)[protected]

C++ default constructor.

Since
S60 v4.0

Parameters

TRect aRectControl area
CFepUiLayout * aUiLayoutThe layout which contains this control
TInt aControlIdThe control Id

~CFepLayoutEditAreaBase()

IMPORT_C~CFepLayoutEditAreaBase()[virtual]

Destructor.

Since
S60 v4.0

Member Functions Documentation

AdjustPostionInVisualText(const TInt, TInt &)

voidAdjustPostionInVisualText(const TIntcursorDistance,
TInt &retVal
)[private]

Parameters

const TInt cursorDistance
TInt & retVal

AdjustSelectedCompositionText(TInt &)

IMPORT_C voidAdjustSelectedCompositionText(TInt &aPositionOfInsertionPointInBuffer)[virtual]

Adjust cursor position when pointer down or move

Since
S60 v4.0

Parameters

TInt & aPositionOfInsertionPointInBufferThe position

BaseConstructL()

IMPORT_C voidBaseConstructL()[protected]

By default Symbian 2nd phase constructor is private.

Since
S60 v4.0

CalculateDisplayTextL()

voidCalculateDisplayTextL()[protected]

Calcuate display text

Since
S60 v4.0

CancelPointerDownL()

IMPORT_C voidCancelPointerDownL()[virtual]

From CFepUiBaseCtrl Update rect area

Since
S60 v4.0
Since
S60 V4.0

CharDirection(TChar)

TBidiText::TDirectionality CharDirection(TCharaChar)const [private]

Parameters

TChar aChar

CursorDistance(TInt)

TInt CursorDistance(TIntaX)const [private]

Parameters

TInt aX

CursorVisible()

IMPORT_C TBoolCursorVisible()const

Get cursor visibility

Since
S60 v4.0

Draw()

IMPORT_C voidDraw()[virtual]

From CFepUiBaseCtrl Draw control

Since
S60 v4.0

DrawContent(CBitmapContext *, const TRect &)

IMPORT_C voidDrawContent(CBitmapContext *aGc,
const TRect &aRect
)[virtual]

Draws the text buffer into the given graphic context

Since
S60 v4.0

Parameters

CBitmapContext * aGcThe graphic context
const TRect & aRectInvalid rectangle. Edit area is redrawn only if the invalid rectangle intersects with the rectangle of the edit area

DrawSelection()

TRect DrawSelection()[private]

Draw selected text

Since
S60 v4.0

FindOverlappedCtrl(CFepUiBaseCtrl *)

TInt FindOverlappedCtrl(CFepUiBaseCtrl *aCtrl)[private]

Find whether the given control is one of the overlapped control.

Since
S60 v4.0

Parameters

CFepUiBaseCtrl * aCtrl

GetEditorFieldMaxLen()

IMPORT_C TIntGetEditorFieldMaxLen()[virtual]

Get the editor max length. This is the max char length which this editor can holds

Since
S60 V4.0

HandlePointerDownEventL(const TPoint &)

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

From CFepUiBaseCtrl Handle pointer down event

Since
S60 4.0

Parameters

const TPoint & aPointThe point position relative the layout

HandlePointerLeave(const TPoint &)

IMPORT_C voidHandlePointerLeave(const TPoint &aPoint)[virtual]

From CFepUiBaseCtrl Handle pointer levae event. This will be called only when it's got pointer down event before and now pointer leaves without pointer up event

Since
S60 V4.0

Parameters

const TPoint & aPointcurrent pointer position

HandlePointerMoveEventL(const TPoint &)

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

From CFepUiBaseCtrl Handle pointer move event

Since
S60 v4.0

Parameters

const TPoint & aPointThe point position relative the layout

HandlePointerUpEventL(const TPoint &)

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

From CFepUiBaseCtrl Handle pointer up event

Since
S60 v4.0

Parameters

const TPoint & aPointThe point position relative the layout

IncreaseBufferL(TInt)

voidIncreaseBufferL(TIntaLength)[private]

Parameters

TInt aLength

IsDimmed()

TBool IsDimmed()const [inline]

Get dim

Since
S60 v4.0

IsFocused()

IMPORT_C TBoolIsFocused()

Tests if the field has focus.

Since
S60 v4.0

Move(const TPoint &)

IMPORT_C voidMove(const TPoint &aOffset)[virtual]

From CFepUiBaseCtrl Move conntrol

Since
S60 V4.0

Parameters

const TPoint & aOffsetThe offset to be moved

OnActivate()

IMPORT_C voidOnActivate()[virtual]

From CFepUiBaseCtrl Handle pointer enter event. This will be called only when it's got pointer down event before and pointer leaves but now comes back without pointer up event.

Since
S60 V4.0
Since
S60 v4.0

OnDeActivate()

IMPORT_C voidOnDeActivate()[virtual]

OnDeActivate. Called when the layout is going to be hidden

Since
S60 v4.0

OnLayoutDraggingEnd()

IMPORT_C voidOnLayoutDraggingEnd()[virtual]

From CFepUiBaseCtrl Call back function when layout ends dragging

Since
S60 V4.0

OnLayoutDraggingStart()

IMPORT_C voidOnLayoutDraggingStart()[virtual]

From CFepUiBaseCtrl Call back function when layout starts dragging

Since
S60 V4.0

PositionInDisplayText(TInt)

IMPORT_C TIntPositionInDisplayText(TIntaX)const [protected]

Returns the position in buffer for given x-coordinate

Since
S60 v4.0

Parameters

TInt aXX-coordinate

PositionInVisualText(TInt)

TInt PositionInVisualText(TIntaX)[private]

Parameters

TInt aX

PositionInVisualWindow(TInt)

TPoint PositionInVisualWindow(TIntaCharacterIndex)const [private]

Parameters

TInt aCharacterIndex

PositionInWindow(TInt)

IMPORT_C TPointPositionInWindow(TIntaCharacterIndex)[protected]

Gives coordinates of the character relative to the parent window.

Since
S60 v4.0

Parameters

TInt aCharacterIndexindex of the character in iRenderBuffer

PositionOfInsertionPointOnWindow()

IMPORT_C TPointPositionOfInsertionPointOnWindow()

Returns the cursor position relative to parent window

Since
S60 v4.0

PrepareForFocusGain()

IMPORT_C TBoolPrepareForFocusGain()[protected, virtual]

Prepares the field for gaining focus.

Since
S60 v4.0

PrepareForFocusLoss()

IMPORT_C voidPrepareForFocusLoss()[protected, virtual]

Handles taps, i.e. moves insertion point and selects text.

Since
S60 v4.0
Since
S60 v4.0

RestoreCursorState(CFepUiBaseCtrl *)

voidRestoreCursorState(CFepUiBaseCtrl *aCtrl)[private]

Restore cursor state when overlapped area is removed.

Since
S60 v4.0

Parameters

CFepUiBaseCtrl * aCtrlThe control which may affects the cursor shown state

RestoreCursorState(TInt)

voidRestoreCursorState(TIntaIndex)[private]

Restore cursor state when overlapped area is removed.

Since
S60 v4.0

Parameters

TInt aIndexThe control index in the list which may affects the cursor shown state

SaveCursorState(CFepUiBaseCtrl *)

voidSaveCursorState(CFepUiBaseCtrl *aCtrl)[private]

Save current cursor state

Since
S60 v4.0

Parameters

CFepUiBaseCtrl * aCtrlThe control which may affects the cursor shown state

ScrollLeft()

voidScrollLeft()[protected]

Scrolls selection to the left exposing more text

Since
S60 v4.0

ScrollRight()

voidScrollRight()[protected]

Scrolls selection to the right exposing more text

Since
S60 v4.0

Selection()

TCursorSelection Selection()const [inline]

Returns the selected text.

Since
S60 v4.0

SetCursorVisible(TBool, TBool)

IMPORT_C voidSetCursorVisible(TBoolaCursorVisibleFlag = ETrue,
TBoolaCursorSelVisibleFlag = EFalse
)

Set cursor visibility

Since
S60 v4.0

Parameters

TBool aCursorVisibleFlag = ETrue
TBool aCursorSelVisibleFlag = EFalse

SetDimmed(TBool)

IMPORT_C voidSetDimmed(TBoolaDimFlag)

Sets dim

Since
S60 v4.0

Parameters

TBool aDimFlagDim flag, ETrue for dim

SetFocus(TBool)

IMPORT_C voidSetFocus(TBoolaFlag = ETrue)

Set editor focus

Since
S60 v4.0

Parameters

TBool aFlag = ETruecurrent focus. Default value is ETrue

SetFont(const TFontSpec &)

IMPORT_C voidSetFont(const TFontSpec &aFontSpec)

Set the font for text drawing

Since
S60 v4.0

Parameters

const TFontSpec & aFontSpec

SetFont(const CFont *)

IMPORT_C voidSetFont(const CFont *aFont)

Set the font for text drawing

Since
S60 v4.0

Parameters

const CFont * aFontThe font to be used.Ownership not transferred

SetPositionOfInsertionPointInBuffer(TInt &)

IMPORT_C voidSetPositionOfInsertionPointInBuffer(TInt &aPositionOfInsertionPointInBuffer)

Sets the position, where caret is in the buffer.

Since
S60 v4.0

Parameters

TInt & aPositionOfInsertionPointInBufferThe position

SetPositionOfInsertionPointInBuffer(TInt &, TInt &)

voidSetPositionOfInsertionPointInBuffer(TInt &aPositionOfInsertionPointInBuffer,
TInt &aPositionOfAnchorInBuffer
)

Sets the position, where caret is in the buffer, including the start of the selection.

Since
S60 v4.0

Parameters

TInt & aPositionOfInsertionPointInBufferThe position
TInt & aPositionOfAnchorInBuffer

SetRect(TRect)

IMPORT_C voidSetRect(TRectaRect)

From CFepUiBaseCtrl Sets the rectangle for the edit area.

Since
S60 v4.0

Parameters

TRect aRectThe rectangle

SetTextAlignmentL(TInt)

IMPORT_C voidSetTextAlignmentL(TIntaAlignment)

Parameters

TInt aAlignment

SetTextColor(const TRgb)

IMPORT_C voidSetTextColor(const TRgbaColor)

Sets the text color.

Since
S60 v4.0

Parameters

const TRgb aColorRGB-value of the text color

SetTextIsSecret(TBool)

voidSetTextIsSecret(TBoolaIsSecret)[inline]

Parameters

TBool aIsSecret

SetTextL(const TFepInputContextFieldData &)

IMPORT_C voidSetTextL(const TFepInputContextFieldData &aData)

Sets the text to be displayed

Since
S60 v4.0

Parameters

const TFepInputContextFieldData & aData

TextIsSecret()

TBool TextIsSecret()const [inline]

TextLength()

TInt TextLength()const [inline]

Get the text length of buffer

Since
S60 v4.0

TextWidth(TInt, TInt)

TInt TextWidth(TIntaStart,
TIntaEnd
)[private]

Parameters

TInt aStart
TInt aEnd

UpdateContent(const TCursorSelection &)

voidUpdateContent(const TCursorSelection &aCursorSel)[pure virtual]

Update content when scrolling

Since
S60 v4.0

Parameters

const TCursorSelection & aCursorSel

UpdateCursorSelection(const TCursorSelection &)

IMPORT_C voidUpdateCursorSelection(const TCursorSelection &aCursorSel)

Sets the cursor

Since
S60 v4.0

Parameters

const TCursorSelection & aCursorSel

UpdateSecretText(TAny *)

TInt UpdateSecretText(TAny *aEditArea)[private, static]

Parameters

TAny * aEditArea

UpdateText(const TFepInputContextFieldData &)

voidUpdateText(const TFepInputContextFieldData &aData)[private]

Parameters

const TFepInputContextFieldData & aData

UpdateValidRegion(CFepUiBaseCtrl *, TBool)

IMPORT_C voidUpdateValidRegion(CFepUiBaseCtrl *aCtrl,
TBoolaRemoveFlag
)[virtual]

Update control's valid region when other control hiding or displaying. This is usually used for HWR window to change it's writing area.

Since
S60 V4.0

Parameters

CFepUiBaseCtrl * aCtrlThe control whose displaying status changed
TBool aRemoveFlag

Member Data Documentation

HBufC * iBuffer

HBufC *iBuffer[protected]

Pointer down flag -- should be removed??? Buffer for text to display Own

TRect iCorrectedRect

TRect iCorrectedRect[protected]

Corrected Rect of edit area. This have to be used when calculating width or does charachters fit

TBool iCursorSelVisible

TBool iCursorSelVisible[protected]

TBool iCursorVisible

TBool iCursorVisible[protected]

TBool iDimmed

TBool iDimmed[protected]

TPtrC iDisplayText

TPtrC iDisplayText[protected]

The part of iBuffer that is shown in the edit area rectancle

TCursorSelection iDisplayTextCurSel

TCursorSelection iDisplayTextCurSel[protected]

TInt iDisplayTextOffset

TInt iDisplayTextOffset[protected]

Display text start position in the original text

CFont * iFont

CFont *iFont[protected]

Font for text drawing. Ownership depends on iFontOwnership flag.

TBool iFontOwnership

TBool iFontOwnership[protected]

Flag ownership flag. ETrue if CFont object is owned by this control.

TFontSpec iFontSpec

TFontSpec iFontSpec[protected]

Font spec for text drawing

TBool iHasFocus

TBool iHasFocus[protected]

Flag telling whether the field has focus

TBool iInDragging

TBool iInDragging[protected]

CInsertionPoint * iInsertionPoint

CInsertionPoint *iInsertionPoint[protected]

the insertion point, i.e. caret Own

TBool iMfneEditor

TBool iMfneEditor[protected]

RArray< TOverlappedInfo > iOverlappedCtrlList

RArray< TOverlappedInfo >iOverlappedCtrlList[private]

list of controls which overlapped with ICF

CFepUiBaseCtrl * iPreCaptureCtrl

CFepUiBaseCtrl *iPreCaptureCtrl[protected]

The control which captures the pointer before

TInt iRelativePos

TInt iRelativePos[protected]

TInt iReserved1

TInt iReserved1[private]

Reserved item1

TInt iReserved2

TInt iReserved2[private]

Reserved item2

TBool iScrolling

TBool iScrolling[protected]

Flag to indicate that text is being scrolled

CPeriodic * iSecretTextTimer

CPeriodic *iSecretTextTimer[protected]

TCursorSelection iSelectedCompositionText

TCursorSelection iSelectedCompositionText[protected]

cursor information for the selected txt

TRgb iTextColor

TRgb iTextColor[protected]

Color of letters in the keyboard

TBidiText::TDirectionality iTextDirection

TBidiText::TDirectionality iTextDirection[protected]

TBool iTextIsSecret

TBool iTextIsSecret[protected]

TCursorSelection iUncommittedText

TCursorSelection iUncommittedText[protected]

HBufC * iVisualBuffer

HBufC *iVisualBuffer[protected]

TPtrC iVisualText

TPtrC iVisualText[protected]

TBool isCenter

TBool isCenter[protected]