CAknIntegerEdwin Class Reference

#include <mw/AknNumEdwin.h>

class CAknIntegerEdwin : public CAknNumericEdwin
Public Member Functions
IMPORT_C TBoolCheckNumber()
virtual IMPORT_C voidConstructFromResourceL(TResourceReader &)
IMPORT_C voidConstructL(TInt, TInt, TInt)
IMPORT_C TValidationStatusGetTextAsInteger(TInt &)
virtual IMPORT_C voidHandlePointerEventL(const TPointerEvent &)
virtual IMPORT_C voidHandleResourceChange(TInt)
IMPORT_C CAknIntegerEdwin *NewL(TInt, TInt, TInt)
virtual IMPORT_C TKeyResponseOfferKeyEventL(const TKeyEvent &, TEventCode)
virtual IMPORT_C voidPrepareForFocusLossL()
IMPORT_C voidSetMaximumIntegerValue(TInt)
IMPORT_C voidSetMinimumIntegerValue(TInt)
IMPORT_C voidSetUnsetValue(TInt)
IMPORT_C voidSetValueL(TInt)
Inherited Attributes
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize
CEikBorderedControl::iBorder
CEikEdwin::iEdwinInternalFlags
CEikEdwin::iEdwinUserFlags
CEikEdwin::iLastPointerDocPos
CEikEdwin::iLayout
CEikEdwin::iMargins
CEikEdwin::iNumberOfLines
CEikEdwin::iText
CEikEdwin::iTextLimit
CEikEdwin::iTextView
CEikEdwin::iZoomFactor
Inherited Enumerations
CAknNumericEdwin:TValidationStatus
CCoeControl:TZoomType
CEikEdwin:TChunkSize
CEikEdwin:TClipboardFunc
CEikEdwin:TEdwinHotKeys
CEikEdwin:TEikEdwinFlags
CEikEdwin:TEnd
CEikEdwin:TFindFlags
CEikEdwin:TFlags
CEikEdwin:TOwnershipType
CEikEdwin:TSetContent
Inherited Functions
CAknControl::CAknControl()
CAknControl::~CAknControl()
CAknNumericEdwin::MapKeyEvent(TKeyEvent &,TEventCode &,TDigitType)const
CAknNumericEdwin::~CAknNumericEdwin()
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
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()
CCoeControl::AccumulatedZoom()const
CCoeControl::ActivateGc()const
CCoeControl::BackedUpWindow()const
CCoeControl::Background()const
CCoeControl::CCoeControl()
CCoeControl::CCoeControl(CCoeEnv *)
CCoeControl::CCoeControl(const CCoeControl &)
CCoeControl::CCoeControlArray
CCoeControl::CapturesPointer()const
CCoeControl::ClaimPointerGrab(TBool)
CCoeControl::ClaimPointerGrab(TInt,TBool)
CCoeControl::CloseWindow()
CCoeControl::ComponentArrayExists()const
CCoeControl::Components()
CCoeControl::Components()const
CCoeControl::ControlContext()const
CCoeControl::ControlEnv()const
CCoeControl::CopyControlContextFrom(const CCoeControl *)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &,TDisplayMode)
CCoeControl::CreateWindowL()
CCoeControl::CreateWindowL(RWindowGroup *)
CCoeControl::CreateWindowL(RWindowTreeNode &)
CCoeControl::CreateWindowL(const CCoeControl *)
CCoeControl::CustomGc()const
CCoeControl::DeactivateGc()const
CCoeControl::DrawBackground(const TRect &)const
CCoeControl::DrawDeferred()const
CCoeControl::DrawForeground(const TRect &)const
CCoeControl::DrawNow()const
CCoeControl::DrawNow(const TRect &)const
CCoeControl::DrawableWindow()const
CCoeControl::EnableDragEvents()
CCoeControl::EnableReportControlStateChange(TBool)
CCoeControl::EnableWindowTransparency()
CCoeControl::FindBackground()const
CCoeControl::FindFontProvider()const
CCoeControl::GetColor(TInt,TRgb &)const
CCoeControl::GetGc()const
CCoeControl::GetHelpContext(TCoeHelpContext &)const
CCoeControl::GrabbingComponent()const
CCoeControl::GrabbingComponent(TInt)const
CCoeControl::HandleComponentControlsResourceChange(TInt)
CCoeControl::HandleControlArrayEventL(CCoeControlArray::TEvent,const CCoeControlArray *,CCoeControl *,TInt)
CCoeControl::HandlePointerBufferReadyL()
CCoeControl::HandleRedrawEvent(const TRect &)const
CCoeControl::HitTest()const
CCoeControl::IgnoreEventsUntilNextPointerUp()
CCoeControl::Index(const CCoeControl *)const
CCoeControl::InitComponentArrayL()
CCoeControl::IsActivated()const
CCoeControl::IsBackedUp()const
CCoeControl::IsBeingDestroyed()const
CCoeControl::IsBlank()const
CCoeControl::IsDimmed()const
CCoeControl::IsFocused()const
CCoeControl::IsNonFocusing()const
CCoeControl::IsReadyToDraw()const
CCoeControl::IsVisible()const
CCoeControl::LayoutManager()const
CCoeControl::MakeVisible(TBool)
CCoeControl::MaximumWidth()const
CCoeControl::NotifyFontChange(const CCoeFontProvider *)
CCoeControl::Observer()const
CCoeControl::OverrideColorL(TInt,TRgb)
CCoeControl::OwnsWindow()const
CCoeControl::Parent()
CCoeControl::Parent()const
CCoeControl::Position()const
CCoeControl::PositionChanged()
CCoeControl::PositionRelativeToScreen()const
CCoeControl::PrepareForFocusGainL()
CCoeControl::ProcessPointerBufferReadyL()
CCoeControl::ProcessPointerEventL(const TPointerEvent &)
CCoeControl::Rect()const
CCoeControl::RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)const
CCoeControl::RecursivelyMergedInputCapabilities()const
CCoeControl::RefetchPixelMappingL()
CCoeControl::RemoveFromParent()
CCoeControl::ReportEventL(MCoeControlObserver::TCoeEvent)
CCoeControl::RequestRelayout(const CCoeControl *)
CCoeControl::ResetGc()const
CCoeControl::ScreenFont(const TCoeFont &)const
CCoeControl::SetAllowStrayPointers()
CCoeControl::SetBackground(const MCoeControlBackground *)
CCoeControl::SetBlank()
CCoeControl::SetCanDrawOutsideRect()
CCoeControl::SetComponentsToInheritVisibility(TBool)
CCoeControl::SetContainerWindowL(RBackedUpWindow &)
CCoeControl::SetContainerWindowL(RWindow &)
CCoeControl::SetControlContext(MCoeControlContext *)
CCoeControl::SetCornerAndSize(TGulAlignment,const TSize &)
CCoeControl::SetCustomGc(CWindowGc *)
CCoeControl::SetExtent(const TPoint &,const TSize &)
CCoeControl::SetExtentToWholeScreen()
CCoeControl::SetFocus(TBool,TDrawNow)
CCoeControl::SetFocusing(TBool)
CCoeControl::SetFontProviderL(const CCoeFontProvider &)
CCoeControl::SetGc(CWindowGc *)const
CCoeControl::SetGloballyCapturing(TBool)
CCoeControl::SetHitTest(const MCoeControlHitTest *)
CCoeControl::SetLayoutManagerL(MCoeLayoutManager *)
CCoeControl::SetMaximumWidth(TInt)
CCoeControl::SetMopParent(MObjectProvider *)
CCoeControl::SetNeighbor(CCoeControl *)
CCoeControl::SetNonFocusing()
CCoeControl::SetObserver(MCoeControlObserver *)
CCoeControl::SetParent(CCoeControl *)
CCoeControl::SetPointerCapture(TBool)
CCoeControl::SetPosition(const TPoint &)
CCoeControl::SetRect(const TRect &)
CCoeControl::SetSize(const TSize &)
CCoeControl::SetSizeWithoutNotification(const TSize &)
CCoeControl::SetTextBaselineSpacing(TInt)
CCoeControl::SetUniqueHandle(TInt)
CCoeControl::SetZoomFactorL(TInt,TZoomType)
CCoeControl::Size()const
CCoeControl::SystemGc()const
CCoeControl::TextBaselineOffset(const TSize &)const
CCoeControl::TextDrawer(TInt)const
CCoeControl::UniqueHandle()const
CCoeControl::Window()const
CCoeControl::WriteInternalStateNowL(RWriteStream &)const
CCoeControl::ZoomWithType()const
CCoeControl::operator=(const CCoeControl &)
CCoeControl::~CCoeControl()
CEikBorderedControl::Border()const
CEikBorderedControl::CEikBorderedControl()
CEikBorderedControl::CEikBorderedControl(const TGulBorder &)
CEikBorderedControl::HasBorder()const
CEikBorderedControl::SetAdjacent(TInt)
CEikBorderedControl::SetBorder(TGulBorder::TBorderType)
CEikBorderedControl::SetBorder(TInt)
CEikEdwin::ActivateL()
CEikEdwin::AddEdwinObserverL(MEikEdwinObserver *)
CEikEdwin::AddFlagToUserFlags(TUint32)
CEikEdwin::AdjustCursorForSmileyL(TInt,TCursorSelection &)
CEikEdwin::AdjustDrawRectForSmiley(const TRect &)const
CEikEdwin::AknEditorCurrentInputMode()
CEikEdwin::AknEditorFlags()
CEikEdwin::AknEdwinFlags()const
CEikEdwin::AvgCharsPerLine()const
CEikEdwin::AvgLinesInViewRect()const
CEikEdwin::BaseConstructL()
CEikEdwin::CEikEdwin()
CEikEdwin::CEikEdwin(const TGulBorder &)
CEikEdwin::CalculateWidth(TInt)
CEikEdwin::CanUndo()const
CEikEdwin::CancelFepTransaction()
CEikEdwin::CancelInsertCharFormat()
CEikEdwin::CancelSelectionL(TEnd)
CEikEdwin::CcpuCanCopy()const
CEikEdwin::CcpuCanCut()const
CEikEdwin::CcpuCanPaste()const
CEikEdwin::CcpuCanUndo()const
CEikEdwin::CcpuCopyL()
CEikEdwin::CcpuCutL()
CEikEdwin::CcpuIsFocused()const
CEikEdwin::CcpuPasteL()
CEikEdwin::CcpuUndoL()
CEikEdwin::CheckEdwinExtensionL()
CEikEdwin::CheckNotReadOnlyL()
CEikEdwin::CheckRemovePictures(TInt,TInt)
CEikEdwin::CheckValidityOfChars(TInt,TInt)
CEikEdwin::ClearSelectionL()
CEikEdwin::ClearUndo()
CEikEdwin::ClipboardL(TClipboardFunc)
CEikEdwin::ConstructL(TInt,TInt,TInt,TInt)
CEikEdwin::ContentFitsToViewRect()const
CEikEdwin::ConvertSmileyIconToTextL(TInt,TDes &)
CEikEdwin::ConvertVisibleTextForSmileyL(TBool)
CEikEdwin::CopyDocumentContentL(CGlobalText &,CGlobalText &)
CEikEdwin::CopyToStoreL(CStreamStore &,CStreamDictionary &)
CEikEdwin::CountWords()
CEikEdwin::CreateCustomDrawL()
CEikEdwin::CreateLayoutL(MLayDoc *)
CEikEdwin::CreatePreAllocatedScrollBarFrameL()
CEikEdwin::CreateScrollBarFrameL()
CEikEdwin::CreateTextAndLayoutL(CParaFormatLayer *,CCharFormatLayer *)
CEikEdwin::CreateTextViewL()
CEikEdwin::CursorPos()const
CEikEdwin::DeleteHighlightL(TBool &,TBool,TBool)
CEikEdwin::DeleteL(TBool &,const TCursorSelection &,TBool,TBool)
CEikEdwin::DisplayFindTextNotFound(TDes &)
CEikEdwin::Draw(const TRect &)const
CEikEdwin::DrawContents()
CEikEdwin::DrawSmileyInTextL(RRegion &,const TRect &,CBitmapContext &,CFont &,const TDesC &,const TPoint &)
CEikEdwin::DrawTextView()const
CEikEdwin::DrawViewBackground(TBool)const
CEikEdwin::EditObserver(TInt,TInt)
CEikEdwin::EditorBackgroundColor(TRgb &)const
CEikEdwin::EditorState()const
CEikEdwin::EdwinExtension()
CEikEdwin::EnableCcpuSupportL(TBool)
CEikEdwin::EnableKineticScrollingL(CAknPhysics *)
CEikEdwin::EnableKineticScrollingL(TBool)
CEikEdwin::EnableSmileySupportL(TBool)
CEikEdwin::ExtractTextLC(TCursorSelection)
CEikEdwin::FindL(const TDesC *,TInt)
CEikEdwin::FindTextL(const TDesC *,TInt,TInt)
CEikEdwin::FocusChanged(TDrawNow)
CEikEdwin::ForceScrollBarUpdateL()
CEikEdwin::FormatTextL()
CEikEdwin::GetColorUseListL(CArrayFix< TCoeColorUse > &)const
CEikEdwin::GetFindText(TDes *)
CEikEdwin::GetText(TDes &)const
CEikEdwin::GetTextInHBufL()const
CEikEdwin::GetTextLinesRect()const
CEikEdwin::GetWordInfo(TInt,TInt &,TInt &)const
CEikEdwin::HandleScrollEventL(CEikScrollBar *,TEikScrollEvent)
CEikEdwin::HandleScrollEventWithPhysics(CEikScrollBar *)
CEikEdwin::HandleSizeChangedL()
CEikEdwin::HandleTextChangedL()
CEikEdwin::HandleTextPastedL(TInt,TInt &)
CEikEdwin::HighlightStyle()const
CEikEdwin::IdleL(TAny *)
CEikEdwin::InputCapabilities()const
CEikEdwin::InsertDeleteCharsL(TInt,const TDesC &,const TCursorSelection &)
CEikEdwin::InsertFieldL(CTextField *,TUid)
CEikEdwin::InsertFromTextFileL(const TFileName &,const CPlainText::TTextOrganisation)
CEikEdwin::IsBackgroundDrawingSuppressed()const
CEikEdwin::IsReadOnly()const
CEikEdwin::IsSmileyEnabled()const
CEikEdwin::KineticScrollingEnabled()const
CEikEdwin::LayoutWidth()const
CEikEdwin::LineCursorWidth()const
CEikEdwin::LowerPartialFormattingLength()const
CEikEdwin::Margins()const
CEikEdwin::MaxLength()const
CEikEdwin::MaximumHeight()const
CEikEdwin::MaximumHeightInLines()const
CEikEdwin::MinimumHeight()const
CEikEdwin::MinimumSize()
CEikEdwin::MopSupplyObject(TTypeUid)
CEikEdwin::MoveCursorL(TCursorPosition::TMovementType,TBool)
CEikEdwin::MoveCursorToChunkStartL(TBool,TChunkSize,TEnd)
CEikEdwin::MoveDisplayL(TCursorPosition::TMovementType)
CEikEdwin::NonPrintingCharsVisibility()const
CEikEdwin::NotifyEditorStateObserverOfStateChangeL()
CEikEdwin::NotifyNewDocumentL()
CEikEdwin::NotifyNewFormatL()
CEikEdwin::OkToDeleteSelectionL()
CEikEdwin::OnEditorStateFlagChange(TInt,TInt)
CEikEdwin::OnReformatL(const CTextView *)
CEikEdwin::OnlyASCIIChars()const
CEikEdwin::PasteFromStoreL(CStreamStore &,CStreamDictionary &)
CEikEdwin::PictographAnimationCallBack()const
CEikEdwin::PixelsOutOfBorder()const
CEikEdwin::PlaceDataOnClipboardL()
CEikEdwin::ReadAknResourceL(TResourceReader &)
CEikEdwin::ReceiveDataOverIrL()
CEikEdwin::RemoveEdwinObserver(MEikEdwinObserver *)
CEikEdwin::RemoveFlagFromUserFlags(TUint32)
CEikEdwin::ReplaceAllL(SEdwinFindModel *)
CEikEdwin::ReplaceL(SEdwinFindModel *)
CEikEdwin::ReportChinesePopupEventL(TBool)
CEikEdwin::ReportEdwinEventL(MEikEdwinObserver::TEdwinEvent)
CEikEdwin::RestoreCursorState()
CEikEdwin::RunCharMapDialogL()
CEikEdwin::ScrollBarFrame()
CEikEdwin::ScrollView(TInt,TBool &,TInt &)
CEikEdwin::ScrollViewWithBounce(TInt,TBool &,TInt &)
CEikEdwin::SelectAllL()
CEikEdwin::Selection()const
CEikEdwin::SelectionLength()const
CEikEdwin::SendDataOverIrL()
CEikEdwin::SetAknEditorAllowedInputModes(TInt)
CEikEdwin::SetAknEditorCase(TInt)
CEikEdwin::SetAknEditorCurrentCase(TInt)
CEikEdwin::SetAknEditorCurrentInputMode(TInt)
CEikEdwin::SetAknEditorFlags(TInt)
CEikEdwin::SetAknEditorInputMode(TInt)
CEikEdwin::SetAknEditorLocalLanguage(TLanguage)
CEikEdwin::SetAknEditorNumericKeymap(TAknEditorNumericKeymap)
CEikEdwin::SetAknEditorPermittedCaseModes(TInt)
CEikEdwin::SetAknEditorSpecialCharacterTable(TInt)
CEikEdwin::SetAlignment(TInt)
CEikEdwin::SetAllowPictures(TBool)
CEikEdwin::SetAllowUndo(TBool)
CEikEdwin::SetAmountToFormatL(TBool)
CEikEdwin::SetAmountToFormatL(TBool,TBool)
CEikEdwin::SetAvgCharsPerLine(TInt)
CEikEdwin::SetAvgLinesInViewRect(TInt)
CEikEdwin::SetAvkonWrap(TBool)
CEikEdwin::SetBackgroundColorL(TRgb)
CEikEdwin::SetBorderViewMargins(TMargins8)
CEikEdwin::SetCharFormatLayer(CCharFormatLayer *)
CEikEdwin::SetContainerWindowL()
CEikEdwin::SetContainerWindowL(const CCoeControl &)
CEikEdwin::SetCursorPosL(TInt,TBool)
CEikEdwin::SetCursorVisible(TBool)
CEikEdwin::SetDimmed(TBool)
CEikEdwin::SetDocumentContentL(CGlobalText &,TSetContent)
CEikEdwin::SetDocumentOwnership(TOwnershipType)
CEikEdwin::SetEdwinObserver(MEikEdwinObserver *)
CEikEdwin::SetEdwinSizeObserver(MEikEdwinSizeObserver *)
CEikEdwin::SetHighlightStyleL(TAknsHighlightStyle)
CEikEdwin::SetInputCapabilitiesL(const TCoeInputCapabilities &)
CEikEdwin::SetLineCursorDetailsL()
CEikEdwin::SetMaxLength(TInt)
CEikEdwin::SetMaximumHeight(TInt)
CEikEdwin::SetMaximumHeightInLines(TInt)
CEikEdwin::SetMinimumHeight(TInt)
CEikEdwin::SetNonPrintingCharsVisibility(TNonPrintingCharVisibility)
CEikEdwin::SetOnlyASCIIChars(TBool)
CEikEdwin::SetParaFormatLayer(CParaFormatLayer *)
CEikEdwin::SetPasteFromIrStore(TBool)
CEikEdwin::SetPictographAnimationCallBack(TCallBack &)
CEikEdwin::SetReadOnly(TBool)
CEikEdwin::SetRightWrapGutter(TInt)
CEikEdwin::SetScrollRect(const TRect &)
CEikEdwin::SetSelectionL(TInt,TInt)
CEikEdwin::SetSkinBackgroundControlContextL(MAknsControlContext *)
CEikEdwin::SetSuppressBackgroundDrawing(TBool)
CEikEdwin::SetSuppressFormatting(TBool)
CEikEdwin::SetSuppressNotifyDraw(TBool)
CEikEdwin::SetTextL(const TDesC *)
CEikEdwin::SetTextLimit(TInt)
CEikEdwin::SetTextLinesRect(const TRect &)
CEikEdwin::SetTextSkinColorIdL(TInt)
CEikEdwin::SetUndoBufferL(const TCursorSelection &)
CEikEdwin::SetUndoableText(const TCursorSelection &)
CEikEdwin::SetUpperFullFormattingLength(TInt)
CEikEdwin::SetWordDelimiters(TBool,TBool)
CEikEdwin::SetWordWrapL(TBool)
CEikEdwin::SetWysiwygModeOff()
CEikEdwin::SetWysiwygModeOn(TInt,MGraphicsDeviceMap *)
CEikEdwin::SetZoomFactorL(TZoomFactor *)
CEikEdwin::SkinBackgroundControlContext()const
CEikEdwin::SkinColorId()const
CEikEdwin::SkinEnabled()const
CEikEdwin::SkipBackgroundDrawer()const
CEikEdwin::StoreCursorState()
CEikEdwin::SupportsUndo()const
CEikEdwin::Text()const
CEikEdwin::TextLayout()const
CEikEdwin::TextLength()const
CEikEdwin::TextView()const
CEikEdwin::TrappedDraw(const TRect &)const
CEikEdwin::TrappedSizeChanged()
CEikEdwin::UndoL()
CEikEdwin::UpdateAllFieldsL()
CEikEdwin::UpdateCurrentFieldL()
CEikEdwin::UpdateLayoutWidth(TInt)
CEikEdwin::UpdateScrollBarsL()
CEikEdwin::UpperFullFormattingLength()const
CEikEdwin::UserFlags()const
CEikEdwin::WriteInternalStateL(RWriteStream &)const
CEikEdwin::~CEikEdwin()

Detailed Description

The CAknIntegerEdwin class implements an editor for an integer values.

The editor has an associated resource struct AVKON_INTEGER_EDWIN and control factory identifier EAknCtIntegerEdwin.

Since
Series 60 0.9

Member Function Documentation

CheckNumber ( )

IMPORT_C TBoolCheckNumber()

Checks if the number of the editor is within the min and max boundaries. If not, the method set the number to closest legal value and highlights the number text in the editor.

ConstructFromResourceL ( TResourceReader & )

IMPORT_C voidConstructFromResourceL(TResourceReader &aReader)[virtual]

Reimplemented from CEikEdwin::ConstructFromResourceL(TResourceReader &)

Constructs controls from a resource file. Function reads needed values from a AVKON_INTEGER_EDWIN resource. Essential for Dialog/Form construction.

ParameterDescription
aReaderThe resource reader with which to access the control's resource values.

ConstructL ( TInt, TInt, TInt )

IMPORT_C voidConstructL(TIntaMin,
TIntaMax,
TIntaMaxChars
)

2nd phase constructor.

ParameterDescription
aMinThe minimum allowable value.
aMaxThe maximum allowable value.
aMaxCharsThe maximum allowable number of the digits.

GetTextAsInteger ( TInt & )

IMPORT_C TValidationStatusGetTextAsInteger(TInt &aValue)

Gets the current value of the editor. Validity of the value is checked, if the editor is empty, the unset value is used. The value is put into aValue parameter even if it is not valid.

ParameterDescription
aValueReference to the integer used to store the value got from the editor field.

Returns: Indicates the validation status.

HandlePointerEventL ( const TPointerEvent & )

IMPORT_C voidHandlePointerEventL(const TPointerEvent &aPointerEvent)[virtual]

Reimplemented from CAknNumericEdwin::HandlePointerEventL(const TPointerEvent &)

From CCoeControl.

Handles pointer events.

ParameterDescription
aPointerEventPointer event to respond to.

HandleResourceChange ( TInt )

IMPORT_C voidHandleResourceChange(TIntaType)[virtual]

Reimplemented from CEikEdwin::HandleResourceChange(TInt)

From CCoeControl. Handles a change to the control's resources.
Since
Series 60 2.0
ParameterDescription
aTypea message UID value.

NewL ( TInt, TInt, TInt )

IMPORT_C CAknIntegerEdwin *NewL(TIntaMin,
TIntaMax,
TIntaMaxChars
)[static]

Two-phased constructor.

ParameterDescription
aMinThe minimum allowable value.
aMaxThe maximum allowable value.
aMaxCharsThe maximum allowable number of the digits.

Returns: Pointer to a fully constructed editor object.

OfferKeyEventL ( const TKeyEvent &, TEventCode )

IMPORT_C TKeyResponseOfferKeyEventL(const TKeyEvent &aKeyEvent,
TEventCodeaType
)[virtual]

Reimplemented from CEikEdwin::OfferKeyEventL(const TKeyEvent &,TEventCode)

From CCoeControl. Handles key events. Called by framework when a key event occurs.
Since
Series 60 2.0
ParameterDescription
aKeyEventThe key event that occured.
aTypeThe type of key event that occured.

Returns: EKeyWasConsumed if the event was processed, EKeyWasNotConsumed if the event was not processed.

PrepareForFocusLossL ( )

IMPORT_C voidPrepareForFocusLossL()[virtual]

Reimplemented from CCoeControl::PrepareForFocusLossL()

From CCoeControl. Prepares for focus loss. Called by the framework just before focus is removed from the control.

SetMaximumIntegerValue ( TInt )

IMPORT_C voidSetMaximumIntegerValue(TIntaMaximumValue)

Sets the maximum allowable value of the editor.

ParameterDescription
aMaximumValueThe maximum value.

SetMinimumIntegerValue ( TInt )

IMPORT_C voidSetMinimumIntegerValue(TIntaMinimumValue)

Sets the minimum allowable value of the editor.

ParameterDescription
aMinimumValueThe minimum value.

SetUnsetValue ( TInt )

IMPORT_C voidSetUnsetValue(TIntaUnsetValue)

Sets the value that is returned when the editor field is left empty or is not valid.

ParameterDescription
aUnsetValueThe default value to be returned.

SetValueL ( TInt )

IMPORT_C voidSetValueL(TIntaValue)

Sets the current value of the editor. The control is not redrawn.

ParameterDescription
aValueCurrent value of the editor.