CAknPopupFieldText Class Reference

API published in: S60 1st Ed

Link against: avkon.lib

Capability Information

Required Capabilities

None


#include <aknpopupfieldtext.h>

Inherits CAknPopupField.


Detailed Description

Represents a text combo box type control which is used to implement the Series 60 text pop-up field.

This control can be constructed directly from a resource.


Public Member Functions

IMPORT_C  CAknPopupFieldText ()
  C++ default constructor.
IMPORT_C  ~CAknPopupFieldText ()
  Destructor.
IMPORT_C HBufC *  CurrentValueTextLC ()
  Gets the current value text stored in the CaknQueryValueText member.
IMPORT_C TInt  CurrentValueIndex () const
  Gets the current value index from the CAknQueryValueText member.
IMPORT_C void  SetCurrentValueIndex (const TInt aIndex)
  Sets the current value index to the CAknQueryValueText member.
IMPORT_C const MDesCArray *  MdcArray () const
  Gets the MdcArray from the CAknQueryValueText member.
IMPORT_C void  SetAutoAppend (TBool aAppend)
  Sets or clears EAutoAppendBitIndexCalls flag from CAknQueryValue.
IMPORT_C void  ConstructFromResourceL (TResourceReader &aReader)
  From CCoeControl.
IMPORT_C void  HandlePointerEventL (const TPointerEvent &aPointerEvent)
  From CCoeControl.

Constructor & Destructor Documentation

IMPORT_C CAknPopupFieldText::CAknPopupFieldText  ) 
 

C++ default constructor.

IMPORT_C CAknPopupFieldText::~CAknPopupFieldText  ) 
 

Destructor.


Member Function Documentation

IMPORT_C void CAknPopupFieldText::ConstructFromResourceL TResourceReader &  aReader  ) 
 

From CCoeControl.

Constructs the control from a resource file.

Parameters:
aReader  Resource reader.

Reimplemented from CAknPopupField.

IMPORT_C TInt CAknPopupFieldText::CurrentValueIndex  )  const
 

Gets the current value index from the CAknQueryValueText member.

Returns:
The current value index.
IMPORT_C HBufC* CAknPopupFieldText::CurrentValueTextLC  ) 
 

Gets the current value text stored in the CaknQueryValueText member.

Returns:
Pointer to the current value text.
IMPORT_C void CAknPopupFieldText::HandlePointerEventL const TPointerEvent &  aPointerEvent  ) 
 

From CCoeControl.

Handles pointer events.

Parameters:
aPointerEvent  The pointer event.

Reimplemented from CAknPopupField.

IMPORT_C const MDesCArray* CAknPopupFieldText::MdcArray  )  const
 

Gets the MdcArray from the CAknQueryValueText member.

This array contains the selection array of the popup field.

Returns:
Selection array of the popup field.
IMPORT_C void CAknPopupFieldText::SetAutoAppend TBool  aAppend  ) 
 

Sets or clears EAutoAppendBitIndexCalls flag from CAknQueryValue.

Parameters:
aAppend  If ETrue, the flag is set.
IMPORT_C void CAknPopupFieldText::SetCurrentValueIndex const TInt  aIndex  ) 
 

Sets the current value index to the CAknQueryValueText member.

Parameters:
aIndex  The current value index.

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

Copyright © Nokia Corporation 2001-2008
Back to top