The decimal place can occur anywhere. Exponential notation is allowed.
Validation, consisting of a check that the contents are parsable as a number (using TLex::Val()) and a range check, is carried out when PrepareForFocusLossL is called. Invalid contents cause a leave of that method.
|
Public Member Functions |
IMPORT_C | CEikFloatingPointEditor () |
| C++ constructor.
|
IMPORT_C void | ConstructL (const TReal &aMin, const TReal &aMax, TInt aTextLimit) |
| 2nd stage constructor
|
IMPORT_C TReal | Value () const |
| Read out the value from the editor as a Real.
|
IMPORT_C TValidationStatus | GetValueAsReal (TReal &aValue) |
| Read out the value from the editor as a Real.
|
IMPORT_C void | SetValueL (const TReal *aValue) |
| Set the value in the editor.
|
IMPORT_C void | SetMinMax (TReal aMin, TReal aMax) |
| Set minimum and maximum valid values.
|
IMPORT_C void | GetMinMax (TReal &aMin, TReal &aMax) const |
| Get minimum and maximum valid values.
|
virtual IMPORT_C void | ConstructFromResourceL (TResourceReader &aReader) |
| From resource constructor.
|
virtual IMPORT_C void | PrepareForFocusLossL () |
| Called by framework when focus is being taken off editor.
|
virtual IMPORT_C TCoeInputCapabilities | InputCapabilities () const |
| Sets the input capabilities of the editor.
|
virtual IMPORT_C TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
| Specific Key handling for numeric editor.
|
virtual IMPORT_C void | HandleResourceChange (TInt aType) |
| Update contents of editor on certain resource change events.
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
| From CCoeControl.
|