API published in: S60 1st Ed
Link against: avkon.lib eikctl.lib eikcoctl.lib uiklaf.lib form.lib
Required Capabilities
None
#include <aknnumedwin.h>
Inherits CAknNumericEdwin.
The editor has an associated resource struct AVKON_INTEGER_EDWIN
and control factory identifier EAknCtIntegerEdwin
.
Public Member Functions |
|
virtual IMPORT_C void | ConstructFromResourceL (TResourceReader &aReader) |
Constructs controls from a resource file. |
|
IMPORT_C void | ConstructL (TInt aMin, TInt aMax, TInt aMaxChars) |
2nd phase constructor. |
|
IMPORT_C void | SetValueL (TInt aValue) |
Sets the current value of the editor. |
|
IMPORT_C void | SetUnsetValue (TInt aUnsetValue) |
Sets the value that is returned when the editor field is left empty or is not valid. |
|
IMPORT_C TValidationStatus | GetTextAsInteger (TInt &aValue) |
Gets the current value of the editor. |
|
IMPORT_C void | SetMinimumIntegerValue (TInt aMinimumValue) |
Sets the minimum allowable value of the editor. |
|
IMPORT_C void | SetMaximumIntegerValue (TInt aMaximumValue) |
Sets the maximum allowable value of the editor. |
|
IMPORT_C void | PrepareForFocusLossL () |
From CCoeControl . |
|
IMPORT_C void | HandleResourceChange (TInt aType) |
From CCoeControl . |
|
IMPORT_C TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
From CCoeControl . |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
From CCoeControl . |
|
IMPORT_C TBool | CheckNumber () |
Checks if the number of the editor is within the min and max boundaries. |
|
Static Public Member Functions |
|
static IMPORT_C CAknIntegerEdwin * | NewL (TInt aMin, TInt aMax, TInt aMaxChars) |
Two-phased constructor. |
|
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. |
|
Constructs controls from a resource file.
Function reads needed values from a
Reimplemented from CEikEdwin. |
|
2nd phase constructor.
|
|
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.
|
|
From Handles pointer events.
Reimplemented from CAknNumericEdwin. |
|
From Handles a change to the control's resources.
Reimplemented from CEikEdwin. |
|
Two-phased constructor.
|
|
From Handles key events. Called by framework when a key event occurs.
Reimplemented from CEikEdwin. |
|
From Prepares for focus loss. Called by the framework just before focus is removed from the control. |
|
Sets the maximum allowable value of the editor.
|
|
Sets the minimum allowable value of the editor.
|
|
Sets the value that is returned when the editor field is left empty or is not valid.
|
|
Sets the current value of the editor. The control is not redrawn.
|