CAknPopupFieldText Class Reference

#include <mw/AknPopupFieldText.h>

class CAknPopupFieldText : public CAknPopupField

Inherits from

Public Member Functions
CAknPopupFieldText()
~CAknPopupFieldText()
virtual IMPORT_C voidConstructFromResourceL(TResourceReader &)
IMPORT_C TIntCurrentValueIndex()
IMPORT_C HBufC *CurrentValueTextLC()
virtual IMPORT_C voidHandlePointerEventL(const TPointerEvent &)
IMPORT_C const MDesCArray *MdcArray()
IMPORT_C voidSetAutoAppend(TBool)
IMPORT_C voidSetCurrentValueIndex(const TInt)
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
Inherited Enumerations
CAknPopupField:EAknFormMode
CAknPopupField:EAknPopupFieldSelectionMode
CCoeControl:TZoomType
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::CCoeControlArray
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

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.

Constructor & Destructor Documentation

CAknPopupFieldText ( )

IMPORT_CCAknPopupFieldText()

C++ default constructor.

~CAknPopupFieldText ( )

IMPORT_C~CAknPopupFieldText()

Destructor.

Member Function Documentation

ConstructFromResourceL ( TResourceReader & )

IMPORT_C voidConstructFromResourceL(TResourceReader &aReader)[virtual]

Reimplemented from CAknPopupField::ConstructFromResourceL(TResourceReader &)

From CCoeControl.

Constructs the control from a resource file.

ParameterDescription
aReaderResource reader.

CurrentValueIndex ( )

IMPORT_C TIntCurrentValueIndex()const

Gets the current value index from the CAknQueryValueText member.

Returns: The current value index.

CurrentValueTextLC ( )

IMPORT_C HBufC *CurrentValueTextLC()

Gets the current value text stored in the CaknQueryValueText member.

Returns: Pointer to the current value text.

HandlePointerEventL ( const TPointerEvent & )

IMPORT_C voidHandlePointerEventL(const TPointerEvent &aPointerEvent)[virtual]

Reimplemented from CAknPopupField::HandlePointerEventL(const TPointerEvent &)

From CCoeControl.

Handles pointer events.

ParameterDescription
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.

Returns: Selection array of the popup field.

SetAutoAppend ( TBool )

IMPORT_C voidSetAutoAppend(TBoolaAppend)

Sets or clears EAutoAppendBitIndexCalls flag from CAknQueryValue.

ParameterDescription
aAppendIf ETrue, the flag is set.

SetCurrentValueIndex ( const TInt )

IMPORT_C voidSetCurrentValueIndex(const TIntaIndex)

Sets the current value index to the CAknQueryValueText member.

ParameterDescription
aIndexThe current value index.