CAknNumericEdwin Class Reference

API published in: S60 1st Ed

Link against: avkon.lib eikctl.lib eikcoctl.lib uiklaf.lib form.lib

Capability Information

Required Capabilities

None


#include <aknnumed.h>

Inherits CEikEdwin.

Inherited by CAknIntegerEdwin, CEikFixedPointEditor, and CEikFloatingPointEditor.


Detailed Description

Intermediate class for defining data shared between numeric edwins.

Public Types

enum   TValidationStatus {
  EValueValid = KErrNone, EValueTooSmall, EValueTooLarge, EValueNotParsed,
  EEmpty
}
  Indicates a validiton status for values read from the control. More...

Public Member Functions

virtual IMPORT_C  ~CAknNumericEdwin ()
  Destructor.
IMPORT_C void  HandlePointerEventL (const TPointerEvent &aPointerEvent)
  From CCoeControl.

Protected Member Functions

IMPORT_C void  MapKeyEvent (TKeyEvent &aKeyEvent, TEventCode &, TDigitType aDigitType) const
  Maps a key event so that any numeric character is mapped to the correct digit type that this editor is using.

Member Enumeration Documentation

enum CAknNumericEdwin::TValidationStatus
 

Indicates a validiton status for values read from the control.

Enumerator:
EValueValid  Read value is valid.
EValueTooSmall  Read value is smaller than the minimum value.
EValueTooLarge  Read value is larger than the maximum value.
EValueNotParsed  Read value can not be parsed.
EEmpty  The control is empty.

Constructor & Destructor Documentation

virtual IMPORT_C CAknNumericEdwin::~CAknNumericEdwin  )  [virtual]
 

Destructor.


Member Function Documentation

IMPORT_C void CAknNumericEdwin::HandlePointerEventL const TPointerEvent &  aPointerEvent  ) 
 

From CCoeControl.

Handles pointer events.

Parameters:
aPointerEvent  Pointer event to respond to.

Reimplemented from CEikEdwin.

Reimplemented in CAknIntegerEdwin, CEikFloatingPointEditor, and CEikFixedPointEditor.

IMPORT_C void CAknNumericEdwin::MapKeyEvent TKeyEvent &  aKeyEvent,
TEventCode &  ,
TDigitType  aDigitType
const [protected]
 

Maps a key event so that any numeric character is mapped to the correct digit type that this editor is using.

Parameters:
aKeyEvent  The key event to modify.
aType  The type to modify.
aDigitType  The digit type to map all numeric characters to.

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top