CAknPopupFieldText Class Reference

class CAknPopupFieldText : public CAknPopupField

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
CAknPopupFieldText()
~CAknPopupFieldText()
IMPORT_C voidConstructFromResourceL(TResourceReader &)
IMPORT_C TIntCurrentValueIndex()
IMPORT_C HBufC *CurrentValueTextLC()
IMPORT_C voidHandlePointerEventL(const TPointerEvent &)
IMPORT_C const MDesCArray *MdcArray()
IMPORT_C voidSetAutoAppend(TBool)
IMPORT_C voidSetCurrentValueIndex(const TInt)
Private Member Functions
voidCommonConstructL(TInt, TInt)
voidConstructL()
IMPORT_C void *ExtensionInterface(TUid)
IMPORT_C voidReserved_1()
IMPORT_C voidReserved_2()
voidSetQueryValueL(MAknQueryValue *)
Inherited Functions
CAknControl::CAknControl()
CAknControl::~CAknControl()
CAknPopupField::ActivateSelectionListL()
CAknPopupField::CAknPopupField()
CAknPopupField::CloseSelectionListL()
CAknPopupField::CommonConstructL()
CAknPopupField::ComponentControl(TInt)const
CAknPopupField::CountComponentControls()const
CAknPopupField::Draw(const TRect &)const
CAknPopupField::FocusChanged(TDrawNow)
CAknPopupField::FormMode()const
CAknPopupField::HandleControlEventL(CCoeControl *,TCoeEvent)
CAknPopupField::HandleListBoxEventL(CEikListBox *,TListBoxEvent)
CAknPopupField::HandleResourceChange(TInt)
CAknPopupField::MinimumSize()
CAknPopupField::MopSupplyObject(TTypeUid)
CAknPopupField::NumLines()const
CAknPopupField::OfferKeyEventL(const TKeyEvent &,TEventCode)
CAknPopupField::ProcessCommandL(TInt)
CAknPopupField::SelectionMode()const
CAknPopupField::SetAllowsUserDefinedEntry(TBool)
CAknPopupField::SetEmptyListNoteL(TInt,CAknNoteDialog::TTimeout,CAknNoteDialog::TTone)
CAknPopupField::SetEmptyTextL(const TDesC &)
CAknPopupField::SetFont(const CFont *)
CAknPopupField::SetFormFieldRect(TRect)
CAknPopupField::SetInvalidTextL(const TDesC &)
CAknPopupField::SetMaxNumberOfLinesPermitted(TInt)
CAknPopupField::SetOtherTextL(const TDesC &)
CAknPopupField::SetPopupFieldObserver(MAknPopupFieldObserver *)
CAknPopupField::SetShowIndicatorsL(TBool)
CAknPopupField::SizeChanged()
CAknPopupField::~CAknPopupField()
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CCoeControl::AccumulatedZoom()const
CCoeControl::ActivateGc()const
CCoeControl::ActivateL()
CCoeControl::BackedUpWindow()const
CCoeControl::Background()const
CCoeControl::CCoeControl()
CCoeControl::CCoeControl(CCoeEnv *)
CCoeControl::CCoeControl(const CCoeControl &)
CCoeControl::CapturesPointer()const
CCoeControl::ClaimPointerGrab(TBool)
CCoeControl::ClaimPointerGrab(TInt,TBool)
CCoeControl::CloseWindow()
CCoeControl::ComponentArrayExists()const
CCoeControl::Components()
CCoeControl::Components()const
CCoeControl::ControlContext()const
CCoeControl::ControlEnv()const
CCoeControl::CopyControlContextFrom(const CCoeControl *)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &,TDisplayMode)
CCoeControl::CreateWindowL()
CCoeControl::CreateWindowL(RWindowGroup *)
CCoeControl::CreateWindowL(RWindowTreeNode &)
CCoeControl::CreateWindowL(const CCoeControl *)
CCoeControl::CustomGc()const
CCoeControl::DeactivateGc()const
CCoeControl::DrawBackground(const TRect &)const
CCoeControl::DrawDeferred()const
CCoeControl::DrawForeground(const TRect &)const
CCoeControl::DrawNow()const
CCoeControl::DrawNow(const TRect &)const
CCoeControl::DrawableWindow()const
CCoeControl::EnableDragEvents()
CCoeControl::EnableReportControlStateChange(TBool)
CCoeControl::EnableWindowTransparency()
CCoeControl::FindBackground()const
CCoeControl::FindFontProvider()const
CCoeControl::GetColor(TInt,TRgb &)const
CCoeControl::GetGc()const
CCoeControl::GetHelpContext(TCoeHelpContext &)const
CCoeControl::GrabbingComponent()const
CCoeControl::GrabbingComponent(TInt)const
CCoeControl::HandleComponentControlsResourceChange(TInt)
CCoeControl::HandleControlArrayEventL(CCoeControlArray::TEvent,const CCoeControlArray *,CCoeControl *,TInt)
CCoeControl::HandlePointerBufferReadyL()
CCoeControl::HandleRedrawEvent(const TRect &)const
CCoeControl::HitTest()const
CCoeControl::IgnoreEventsUntilNextPointerUp()
CCoeControl::Index(const CCoeControl *)const
CCoeControl::InitComponentArrayL()
CCoeControl::InputCapabilities()const
CCoeControl::IsActivated()const
CCoeControl::IsBackedUp()const
CCoeControl::IsBeingDestroyed()const
CCoeControl::IsBlank()const
CCoeControl::IsDimmed()const
CCoeControl::IsFocused()const
CCoeControl::IsNonFocusing()const
CCoeControl::IsReadyToDraw()const
CCoeControl::IsVisible()const
CCoeControl::LayoutManager()const
CCoeControl::MakeVisible(TBool)
CCoeControl::MaximumWidth()const
CCoeControl::NotifyFontChange(const CCoeFontProvider *)
CCoeControl::Observer()const
CCoeControl::OverrideColorL(TInt,TRgb)
CCoeControl::OwnsWindow()const
CCoeControl::Parent()
CCoeControl::Parent()const
CCoeControl::Position()const
CCoeControl::PositionChanged()
CCoeControl::PositionRelativeToScreen()const
CCoeControl::PrepareForFocusGainL()
CCoeControl::PrepareForFocusLossL()
CCoeControl::ProcessPointerBufferReadyL()
CCoeControl::ProcessPointerEventL(const TPointerEvent &)
CCoeControl::Rect()const
CCoeControl::RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)const
CCoeControl::RecursivelyMergedInputCapabilities()const
CCoeControl::RefetchPixelMappingL()
CCoeControl::RemoveFromParent()
CCoeControl::ReportEventL(MCoeControlObserver::TCoeEvent)
CCoeControl::RequestRelayout(const CCoeControl *)
CCoeControl::ResetGc()const
CCoeControl::ScreenFont(const TCoeFont &)const
CCoeControl::SetAllowStrayPointers()
CCoeControl::SetBackground(const MCoeControlBackground *)
CCoeControl::SetBlank()
CCoeControl::SetCanDrawOutsideRect()
CCoeControl::SetComponentsToInheritVisibility(TBool)
CCoeControl::SetContainerWindowL(RBackedUpWindow &)
CCoeControl::SetContainerWindowL(RWindow &)
CCoeControl::SetContainerWindowL(const CCoeControl &)
CCoeControl::SetControlContext(MCoeControlContext *)
CCoeControl::SetCornerAndSize(TGulAlignment,const TSize &)
CCoeControl::SetCustomGc(CWindowGc *)
CCoeControl::SetDimmed(TBool)
CCoeControl::SetExtent(const TPoint &,const TSize &)
CCoeControl::SetExtentToWholeScreen()
CCoeControl::SetFocus(TBool,TDrawNow)
CCoeControl::SetFocusing(TBool)
CCoeControl::SetFontProviderL(const CCoeFontProvider &)
CCoeControl::SetGc(CWindowGc *)const
CCoeControl::SetGloballyCapturing(TBool)
CCoeControl::SetHitTest(const MCoeControlHitTest *)
CCoeControl::SetLayoutManagerL(MCoeLayoutManager *)
CCoeControl::SetMaximumWidth(TInt)
CCoeControl::SetMopParent(MObjectProvider *)
CCoeControl::SetNeighbor(CCoeControl *)
CCoeControl::SetNonFocusing()
CCoeControl::SetObserver(MCoeControlObserver *)
CCoeControl::SetParent(CCoeControl *)
CCoeControl::SetPointerCapture(TBool)
CCoeControl::SetPosition(const TPoint &)
CCoeControl::SetRect(const TRect &)
CCoeControl::SetSize(const TSize &)
CCoeControl::SetSizeWithoutNotification(const TSize &)
CCoeControl::SetTextBaselineSpacing(TInt)
CCoeControl::SetUniqueHandle(TInt)
CCoeControl::SetZoomFactorL(TInt,TZoomType)
CCoeControl::Size()const
CCoeControl::SystemGc()const
CCoeControl::TextBaselineOffset(const TSize &)const
CCoeControl::TextDrawer(TInt)const
CCoeControl::UniqueHandle()const
CCoeControl::Window()const
CCoeControl::WriteInternalStateNowL(RWriteStream &)const
CCoeControl::ZoomWithType()const
CCoeControl::operator=(const CCoeControl &)
CCoeControl::~CCoeControl()
CEikBorderedControl::Border()const
CEikBorderedControl::CEikBorderedControl()
CEikBorderedControl::CEikBorderedControl(const TGulBorder &)
CEikBorderedControl::GetColorUseListL(CArrayFix< TCoeColorUse > &)const
CEikBorderedControl::HasBorder()const
CEikBorderedControl::SetAdjacent(TInt)
CEikBorderedControl::SetBorder(TGulBorder::TBorderType)
CEikBorderedControl::SetBorder(TInt)
CEikBorderedControl::WriteInternalStateL(RWriteStream &)const
Inherited Enumerations
CAknPopupField:EAknFormMode
CAknPopupField:EAknPopupFieldSelectionMode
CCoeControl:TZoomType
Private Attributes
CDesCArray *iArray
TInt iSpare
CAknQueryValueTextArray *iTextArray
CAknQueryValueText *iTextValue
Inherited Attributes
CAknPopupField::iAttemptExitAsync
CAknPopupField::iButton
CAknPopupField::iCba
CAknPopupField::iDecorator
CAknPopupField::iEmptyNoteResourceId
CAknPopupField::iEmptyNoteTimeout
CAknPopupField::iEmptyNoteTone
CAknPopupField::iEmptyText
CAknPopupField::iFlags
CAknPopupField::iFormMode
CAknPopupField::iInvalidText
CAknPopupField::iLabel
CAknPopupField::iLayoutDecorator
CAknPopupField::iMaxNoLines
CAknPopupField::iObserver
CAknPopupField::iOtherText
CAknPopupField::iSelectionList
CAknPopupField::iSelectionMode
CAknPopupField::iValue
CAknPopupField::iWidth
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize
CEikBorderedControl::iBorder

Constructor & Destructor Documentation

CAknPopupFieldText()

IMPORT_CCAknPopupFieldText()

C++ default constructor.

~CAknPopupFieldText()

IMPORT_C~CAknPopupFieldText()

Destructor.

Member Functions Documentation

CommonConstructL(TInt, TInt)

voidCommonConstructL(TIntaTextArrayResourceId,
TIntaInitialIndex
)[private]

Parameters

TInt aTextArrayResourceId
TInt aInitialIndex

ConstructFromResourceL(TResourceReader &)

IMPORT_C voidConstructFromResourceL(TResourceReader &aReader)[virtual]

From CCoeControl.

Constructs the control from a resource file.

Parameters

TResourceReader & aReaderResource reader.

ConstructL()

voidConstructL()[private]

2nd phase constructor.

CurrentValueIndex()

IMPORT_C TIntCurrentValueIndex()const

Gets the current value index from the CAknQueryValueText member.

CurrentValueTextLC()

IMPORT_C HBufC *CurrentValueTextLC()

Gets the current value text stored in the CaknQueryValueText member.

ExtensionInterface(TUid)

IMPORT_C void *ExtensionInterface(TUidaInterface)[private, virtual]

Parameters

TUid aInterface

HandlePointerEventL(const TPointerEvent &)

IMPORT_C voidHandlePointerEventL(const TPointerEvent &aPointerEvent)[virtual]

From CCoeControl.

Handles pointer events.

Parameters

const TPointerEvent & aPointerEventThe pointer event.

MdcArray()

IMPORT_C const MDesCArray *MdcArray()const

Gets the MdcArray from the CAknQueryValueText member. This array contains the selection array of the popup field.

Reserved_1()

IMPORT_C voidReserved_1()[private]

Reserved_2()

IMPORT_C voidReserved_2()[private, virtual]

SetAutoAppend(TBool)

IMPORT_C voidSetAutoAppend(TBoolaAppend)

Sets or clears EAutoAppendBitIndexCalls flag from CAknQueryValue.

Parameters

TBool aAppendIf ETrue, the flag is set.

SetCurrentValueIndex(const TInt)

IMPORT_C voidSetCurrentValueIndex(const TIntaIndex)

Sets the current value index to the CAknQueryValueText member.

Parameters

const TInt aIndexThe current value index.

SetQueryValueL(MAknQueryValue *)

voidSetQueryValueL(MAknQueryValue *aValue)[private]

This method should not be used. It is here to hide it from users, this will panic if you use it.

Parameters

MAknQueryValue * aValue

Member Data Documentation

CDesCArray * iArray

CDesCArray *iArray[private]

TInt iSpare

TInt iSpare[private]

CAknQueryValueTextArray * iTextArray

CAknQueryValueTextArray *iTextArray[private]

CAknQueryValueText * iTextValue

CAknQueryValueText *iTextValue[private]