|
Public Types |
enum | { EFillWithLeadingZeros = 0x1,
EPreserveOldWidthBeforeEditing = 0x2,
ERepresentsYear = 0x4,
EPublicallySettableFlags = EFillWithLeadingZeros|EPreserveOldWidthBeforeEditing|ERepresentsYear
} |
| Flags for the number field. More...
|
Public Member Functions |
virtual IMPORT_C | ~CEikMfneNumber () |
| Destructor.
|
IMPORT_C void | SetMinimumAndMaximum (TInt aMinimumValue, TInt aMaximumValue, const CFont &aFont) |
| Sets the minimum and maximum allowable values.
|
IMPORT_C void | GetMinimumAndMaximum (TInt &aMinimumValue, TInt &aMaximumValue) const |
| Gets the minimum and maximum allowable values.
|
IMPORT_C void | SetValue (TInt aValue, const CFont &aFont) |
| Sets the field's current value.
|
IMPORT_C TInt | Value () const |
| Gets the number field's value.
|
virtual IMPORT_C TBool | IsValid () const |
| Returns ETrue if the field contains more than zero digits.
|
IMPORT_C void | SetUninitialised (TBool aUninitialised) |
| Sets the uninitialized status of the field.
|
IMPORT_C TBool | IsUninitialised () const |
| Gets the uninitialized status of the field.
|
IMPORT_C void | SetDigitType (TDigitType aDigitType, const CFont &aFont) |
| Sets the digit display type.
|
IMPORT_C TDigitType | DigitType () const |
| Gets the digit display type.
|
IMPORT_C void | RefreshDigitType (const CFont &aFont) |
| Derive and set digit display type from locale information.
|
void | SetTrailingZeros () |
TBool | IsTextNull () const |
Static Public Member Functions |
static IMPORT_C CEikMfneNumber * | NewL (const CFont &aFont, TResourceReader &aResourceReader) |
| Allocates and constructs a CEikMfneNumber from resource.
|
static IMPORT_C CEikMfneNumber * | NewL (const CFont &aFont, TInt aMinimumValue, TInt aMaximumValue, TInt aInitialValue, TUint32 aFlags) |
| Allocates and constructs a CEikMfneNumber with the specified parameters.
|