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 void AdjustSelectedCompositionText ( TInt &)
IMPORT_C void CancelPointerDownL ()
IMPORT_C TBool CursorVisible ()
IMPORT_C void Draw ()
IMPORT_C void DrawContent ( CBitmapContext *, const TRect &)
IMPORT_C TInt GetEditorFieldMaxLen ()
IMPORT_C CFepUiBaseCtrl * HandlePointerDownEventL (const TPoint &)
IMPORT_C void HandlePointerLeave (const TPoint &)
IMPORT_C CFepUiBaseCtrl * HandlePointerMoveEventL (const TPoint &)
IMPORT_C CFepUiBaseCtrl * HandlePointerUpEventL (const TPoint &)
TBool IsDimmed ()
IMPORT_C TBool IsFocused ()
IMPORT_C void Move (const TPoint &)
IMPORT_C void OnActivate ()
IMPORT_C void OnDeActivate ()
IMPORT_C void OnLayoutDraggingEnd ()
IMPORT_C void OnLayoutDraggingStart ()
IMPORT_C TPoint PositionOfInsertionPointOnWindow ()
TCursorSelection Selection ()
IMPORT_C void SetCursorVisible ( TBool , TBool )
IMPORT_C void SetDimmed ( TBool )
IMPORT_C void SetFocus ( TBool )
IMPORT_C void SetFont (const TFontSpec &)
IMPORT_C void SetFont (const CFont *)
IMPORT_C void SetPositionOfInsertionPointInBuffer ( TInt &)
void SetPositionOfInsertionPointInBuffer ( TInt &, TInt &)
IMPORT_C void SetRect ( TRect )
IMPORT_C void SetTextAlignmentL ( TInt )
IMPORT_C void SetTextColor (const TRgb )
void SetTextIsSecret ( TBool )
IMPORT_C void SetTextL (const TFepInputContextFieldData &)
TBool TextIsSecret ()
TInt TextLength ()
void UpdateContent (const TCursorSelection &)
IMPORT_C void UpdateCursorSelection (const TCursorSelection &)
IMPORT_C void UpdateValidRegion ( CFepUiBaseCtrl *, TBool )
Protected Member Functions
CFepLayoutEditAreaBase ( TRect , CFepUiLayout *, TInt )
IMPORT_C void BaseConstructL ()
void CalculateDisplayTextL ()
IMPORT_C TInt PositionInDisplayText ( TInt )
IMPORT_C TPoint PositionInWindow ( TInt )
IMPORT_C TBool PrepareForFocusGain ()
IMPORT_C void PrepareForFocusLoss ()
void ScrollLeft ()
void ScrollRight ()
Private Member Functions
void AdjustPostionInVisualText (const TInt , TInt &)
TBidiText::TDirectionality CharDirection ( TChar )
TInt CursorDistance ( TInt )
TRect DrawSelection ()
TInt FindOverlappedCtrl ( CFepUiBaseCtrl *)
void IncreaseBufferL ( TInt )
TInt PositionInVisualText ( TInt )
TPoint PositionInVisualWindow ( TInt )
void RestoreCursorState ( CFepUiBaseCtrl *)
void RestoreCursorState ( TInt )
void SaveCursorState ( CFepUiBaseCtrl *)
TInt TextWidth ( TInt , TInt )
TInt UpdateSecretText ( TAny *)
void UpdateText (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_C CFepLayoutEditAreaBase ( TRect aRect,
CFepUiLayout * aUiLayout,
TInt aControlId
) [protected]

C++ default constructor.

Since
S60 v4.0

Parameters

TRect aRect Control area
CFepUiLayout * aUiLayout The layout which contains this control
TInt aControlId The control Id

~CFepLayoutEditAreaBase()

IMPORT_C ~CFepLayoutEditAreaBase ( ) [virtual]

Destructor.

Since
S60 v4.0

Member Functions Documentation

AdjustPostionInVisualText(const TInt, TInt &)

void AdjustPostionInVisualText ( const TInt cursorDistance,
TInt & retVal
) [private]

Parameters

const TInt cursorDistance
TInt & retVal

AdjustSelectedCompositionText(TInt &)

IMPORT_C void AdjustSelectedCompositionText ( TInt & aPositionOfInsertionPointInBuffer ) [virtual]

Adjust cursor position when pointer down or move

Since
S60 v4.0

Parameters

TInt & aPositionOfInsertionPointInBuffer The position

BaseConstructL()

IMPORT_C void BaseConstructL ( ) [protected]

By default Symbian 2nd phase constructor is private.

Since
S60 v4.0

CalculateDisplayTextL()

void CalculateDisplayTextL ( ) [protected]

Calcuate display text

Since
S60 v4.0

CancelPointerDownL()

IMPORT_C void CancelPointerDownL ( ) [virtual]

From CFepUiBaseCtrl Update rect area

Since
S60 v4.0
Since
S60 V4.0

CharDirection(TChar)

TBidiText::TDirectionality CharDirection ( TChar aChar ) const [private]

Parameters

TChar aChar

CursorDistance(TInt)

TInt CursorDistance ( TInt aX ) const [private]

Parameters

TInt aX

CursorVisible()

IMPORT_C TBool CursorVisible ( ) const

Get cursor visibility

Since
S60 v4.0

Draw()

IMPORT_C void Draw ( ) [virtual]

From CFepUiBaseCtrl Draw control

Since
S60 v4.0

DrawContent(CBitmapContext *, const TRect &)

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

Draws the text buffer into the given graphic context

Since
S60 v4.0

Parameters

CBitmapContext * aGc The graphic context
const TRect & aRect Invalid 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 TInt GetEditorFieldMaxLen ( ) [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 & aPoint The point position relative the layout

HandlePointerLeave(const TPoint &)

IMPORT_C void HandlePointerLeave ( 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 & aPoint current 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 & aPoint The 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 & aPoint The point position relative the layout

IncreaseBufferL(TInt)

void IncreaseBufferL ( TInt aLength ) [private]

Parameters

TInt aLength

IsDimmed()

TBool IsDimmed ( ) const [inline]

Get dim

Since
S60 v4.0

IsFocused()

IMPORT_C TBool IsFocused ( )

Tests if the field has focus.

Since
S60 v4.0

Move(const TPoint &)

IMPORT_C void Move ( const TPoint & aOffset ) [virtual]

From CFepUiBaseCtrl Move conntrol

Since
S60 V4.0

Parameters

const TPoint & aOffset The offset to be moved

OnActivate()

IMPORT_C void OnActivate ( ) [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 void OnDeActivate ( ) [virtual]

OnDeActivate. Called when the layout is going to be hidden

Since
S60 v4.0

OnLayoutDraggingEnd()

IMPORT_C void OnLayoutDraggingEnd ( ) [virtual]

From CFepUiBaseCtrl Call back function when layout ends dragging

Since
S60 V4.0

OnLayoutDraggingStart()

IMPORT_C void OnLayoutDraggingStart ( ) [virtual]

From CFepUiBaseCtrl Call back function when layout starts dragging

Since
S60 V4.0

PositionInDisplayText(TInt)

IMPORT_C TInt PositionInDisplayText ( TInt aX ) const [protected]

Returns the position in buffer for given x-coordinate

Since
S60 v4.0

Parameters

TInt aX X-coordinate

PositionInVisualText(TInt)

TInt PositionInVisualText ( TInt aX ) [private]

Parameters

TInt aX

PositionInVisualWindow(TInt)

TPoint PositionInVisualWindow ( TInt aCharacterIndex ) const [private]

Parameters

TInt aCharacterIndex

PositionInWindow(TInt)

IMPORT_C TPoint PositionInWindow ( TInt aCharacterIndex ) [protected]

Gives coordinates of the character relative to the parent window.

Since
S60 v4.0

Parameters

TInt aCharacterIndex index of the character in iRenderBuffer

PositionOfInsertionPointOnWindow()

IMPORT_C TPoint PositionOfInsertionPointOnWindow ( )

Returns the cursor position relative to parent window

Since
S60 v4.0

PrepareForFocusGain()

IMPORT_C TBool PrepareForFocusGain ( ) [protected, virtual]

Prepares the field for gaining focus.

Since
S60 v4.0

PrepareForFocusLoss()

IMPORT_C void PrepareForFocusLoss ( ) [protected, virtual]

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

Since
S60 v4.0
Since
S60 v4.0

RestoreCursorState(CFepUiBaseCtrl *)

void RestoreCursorState ( CFepUiBaseCtrl * aCtrl ) [private]

Restore cursor state when overlapped area is removed.

Since
S60 v4.0

Parameters

CFepUiBaseCtrl * aCtrl The control which may affects the cursor shown state

RestoreCursorState(TInt)

void RestoreCursorState ( TInt aIndex ) [private]

Restore cursor state when overlapped area is removed.

Since
S60 v4.0

Parameters

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

SaveCursorState(CFepUiBaseCtrl *)

void SaveCursorState ( CFepUiBaseCtrl * aCtrl ) [private]

Save current cursor state

Since
S60 v4.0

Parameters

CFepUiBaseCtrl * aCtrl The control which may affects the cursor shown state

ScrollLeft()

void ScrollLeft ( ) [protected]

Scrolls selection to the left exposing more text

Since
S60 v4.0

ScrollRight()

void ScrollRight ( ) [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 void SetCursorVisible ( TBool aCursorVisibleFlag = ETrue,
TBool aCursorSelVisibleFlag = EFalse
)

Set cursor visibility

Since
S60 v4.0

Parameters

TBool aCursorVisibleFlag = ETrue
TBool aCursorSelVisibleFlag = EFalse

SetDimmed(TBool)

IMPORT_C void SetDimmed ( TBool aDimFlag )

Sets dim

Since
S60 v4.0

Parameters

TBool aDimFlag Dim flag, ETrue for dim

SetFocus(TBool)

IMPORT_C void SetFocus ( TBool aFlag = ETrue )

Set editor focus

Since
S60 v4.0

Parameters

TBool aFlag = ETrue current focus. Default value is ETrue

SetFont(const TFontSpec &)

IMPORT_C void SetFont ( const TFontSpec & aFontSpec )

Set the font for text drawing

Since
S60 v4.0

Parameters

const TFontSpec & aFontSpec

SetFont(const CFont *)

IMPORT_C void SetFont ( const CFont * aFont )

Set the font for text drawing

Since
S60 v4.0

Parameters

const CFont * aFont The font to be used.Ownership not transferred

SetPositionOfInsertionPointInBuffer(TInt &)

IMPORT_C void SetPositionOfInsertionPointInBuffer ( TInt & aPositionOfInsertionPointInBuffer )

Sets the position, where caret is in the buffer.

Since
S60 v4.0

Parameters

TInt & aPositionOfInsertionPointInBuffer The position

SetPositionOfInsertionPointInBuffer(TInt &, TInt &)

void SetPositionOfInsertionPointInBuffer ( 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 & aPositionOfInsertionPointInBuffer The position
TInt & aPositionOfAnchorInBuffer

SetRect(TRect)

IMPORT_C void SetRect ( TRect aRect )

From CFepUiBaseCtrl Sets the rectangle for the edit area.

Since
S60 v4.0

Parameters

TRect aRect The rectangle

SetTextAlignmentL(TInt)

IMPORT_C void SetTextAlignmentL ( TInt aAlignment )

Parameters

TInt aAlignment

SetTextColor(const TRgb)

IMPORT_C void SetTextColor ( const TRgb aColor )

Sets the text color.

Since
S60 v4.0

Parameters

const TRgb aColor RGB-value of the text color

SetTextIsSecret(TBool)

void SetTextIsSecret ( TBool aIsSecret ) [inline]

Parameters

TBool aIsSecret

SetTextL(const TFepInputContextFieldData &)

IMPORT_C void SetTextL ( 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 ( TInt aStart,
TInt aEnd
) [private]

Parameters

TInt aStart
TInt aEnd

UpdateContent(const TCursorSelection &)

void UpdateContent ( const TCursorSelection & aCursorSel ) [pure virtual]

Update content when scrolling

Since
S60 v4.0

Parameters

const TCursorSelection & aCursorSel

UpdateCursorSelection(const TCursorSelection &)

IMPORT_C void UpdateCursorSelection ( 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 &)

void UpdateText ( const TFepInputContextFieldData & aData ) [private]

Parameters

const TFepInputContextFieldData & aData

UpdateValidRegion(CFepUiBaseCtrl *, TBool)

IMPORT_C void UpdateValidRegion ( CFepUiBaseCtrl * aCtrl,
TBool aRemoveFlag
) [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 * aCtrl The 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]