CEikMfneSeparator 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 <eikmfne.h>

Inherits CEikMfneField.


Detailed Description

A separator field for a multi-field numeric editor.

For instance, the character that separates time or date components.


Public Member Functions

virtual IMPORT_C  ~CEikMfneSeparator ()
  Destructor.
IMPORT_C void  SetText (HBufC *aText)
  Sets the separator's text.

Static Public Member Functions

static IMPORT_C CEikMfneSeparator NewL (TResourceReader &aResourceReader)
  Allocates and constructs a CEikMfneSeparator from resource.
static IMPORT_C CEikMfneSeparator NewL (HBufC *aText)
  Allocates and constructs a separator.

Constructor & Destructor Documentation

virtual IMPORT_C CEikMfneSeparator::~CEikMfneSeparator  )  [virtual]
 

Destructor.

Deletes the separator text that is owned by the object.


Member Function Documentation

static IMPORT_C CEikMfneSeparator* CEikMfneSeparator::NewL HBufC *  aText  )  [static]
 

Allocates and constructs a separator.

Parameters:
aText  The separator's text. Ownership of aText is transferred.
Returns:
A newly constructed separator.
static IMPORT_C CEikMfneSeparator* CEikMfneSeparator::NewL TResourceReader &  aResourceReader  )  [static]
 

Allocates and constructs a CEikMfneSeparator from resource.

Uses an MFNE_SEPARATOR resource.

Parameters:
aResourceReader  The resource reader to use.
Returns:
A newly constructed separator field.
IMPORT_C void CEikMfneSeparator::SetText HBufC *  aText  ) 
 

Sets the separator's text.

This function transfers ownership of the text and can only be called if the field's text was previously NULL.

Parameters:
aText  The separator's text.
Panic:
4 If the separator's text was not previously Null.

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

Copyright © Nokia Corporation 2001-2008
Back to top