Link against: avkon.lib 
 None
#include <AknPopupField.h>
      
      Inherits CEikBorderedControl, and MEikListBoxObserver.
Inherited by CAknPopupFieldText.
Public Types | 
         |
| enum | EAknPopupFieldSelectionMode { EAknPopupFieldLabelMode, EAknPopupFieldSelectionListMode } | 
| Selection mode of the popup field.  More... | 
         |
| enum | EAknFormMode {  EAknFormModeView, EAknFormModeEdit, EAknFormModeViewWideWithGraphic, EAknFormModeViewWideWithoutGraphic, EAknFormModeEditWideWithGraphic, EAknFormModeEditWideWithoutGraphic }  | 
         
| Form mode for the popup field.  More... | 
         |
Public Member Functions | 
         |
| EAknPopupFieldSelectionMode | SelectionMode () const | 
| EAknFormMode | FormMode () const | 
| IMPORT_C | CAknPopupField () | 
| C++ default constructor.   | 
         |
| IMPORT_C | ~CAknPopupField () | 
| Destructor.   | 
         |
| IMPORT_C void | ConstructL () | 
| Handles 2nd phase construction.   | 
         |
| IMPORT_C void | SetAllowsUserDefinedEntry (TBool aAllows) | 
| Sets a flag that enables user defined entry.   | 
         |
| IMPORT_C void | ActivateSelectionListL () | 
| Causes a list of pre-defined values to appear.   | 
         |
| IMPORT_C void | SetQueryValueL (MAknQueryValue *aValue) | 
| Used by the client to set the query value.   | 
         |
| IMPORT_C void | SetFont (const CFont *aFont) | 
| Sets the font of the contained label.   | 
         |
| IMPORT_C void | SetShowIndicatorsL (TBool aShowIndicators) | 
| Sets a flag that determines whether the indicators are shown.   | 
         |
| IMPORT_C TInt | NumLines () const | 
| Number of lines used.   | 
         |
| IMPORT_C void | SetPopupFieldObserver (MAknPopupFieldObserver *aObserver) | 
| Sets an observer of this class to receive events from popup field.   | 
         |
| IMPORT_C void | SetEmptyListNoteL (TInt aResourceId, CAknNoteDialog::TTimeout aTimeout=CAknNoteDialog::EShortTimeout, CAknNoteDialog::TTone aTone=CAknNoteDialog::ENoTone) | 
| Sets the note to be displayed when the selection list has no items available.   | 
         |
| IMPORT_C void | SetEmptyTextL (const TDesC &aEmptyText) | 
| Sets the empty list note text.   | 
         |
| IMPORT_C void | SetOtherTextL (const TDesC &aOtherText) | 
| Sets the text to be added to the bottom of the array to enter user defined data.   | 
         |
| IMPORT_C void | SetInvalidTextL (const TDesC &aInvalidText) | 
| Sets the text for view state when none of the elements in the list are available.   | 
         |
| IMPORT_C TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) | 
From CCoeControl.   | 
         |
| IMPORT_C void | ConstructFromResourceL (TResourceReader &aReader) | 
From CCoeControl.   | 
         |
| IMPORT_C TSize | MinimumSize () | 
From CCoeControl.   | 
         |
| IMPORT_C void | HandleResourceChange (TInt aType) | 
From CCoeControl.   | 
         |
| IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) | 
From CCoeControl.   | 
         |
| IMPORT_C void | SetMaxNumberOfLinesPermitted (TInt aMaxNoLines) | 
| /** Sets the maximium number of lines that can be displayed.   | 
         |
| IMPORT_C void | SetFormFieldRect (TRect aFormFieldRect) | 
| Sets a form field rectangle so that a popup field can correctly position the label.   | 
         |
Protected Member Functions | 
         |
| IMPORT_C void | HandleControlEventL (CCoeControl *aControl, TCoeEvent aEvent) | 
From MCoeControlObserver.   | 
         |
| IMPORT_C void | ProcessCommandL (TInt aCommandId) | 
From MEikCommandObserver.   | 
         |
| IMPORT_C void | HandleListBoxEventL (CEikListBox *aListBox, TListBoxEvent aEventType) | 
From MEikListBoxObserver.   | 
         |
| IMPORT_C TInt | CountComponentControls () const | 
From CCoeControl.   | 
         |
| IMPORT_C CCoeControl * | ComponentControl (TInt aIndex) const | 
From CCoeControl.   | 
         |
| IMPORT_C void | SizeChanged () | 
From CCoeControl.   | 
         |
| IMPORT_C void | FocusChanged (TDrawNow aDrawNow) | 
From CCoeControl.   | 
         |
| IMPORT_C void | Draw (const TRect &aRect) const | 
From CEikBorderedControl.   | 
         |
| void | CommonConstructL () | 
| Construction tasks common to both a normal construction and a construction from a resource.   | 
         |
| IMPORT_C TTypeUid::Ptr | MopSupplyObject (TTypeUid aId) | 
From CCoeControl.   | 
         |
Protected Attributes | 
         |
| CEikLabel * | iLabel | 
| Label of the popup field.   | 
         |
| CAknPopupFieldBitmapButton * | iButton | 
| Bitmap button for the popup field.   | 
         |
| CAknFormGraphicStyleListBox * | iSelectionList | 
| List box for the popup field usage.   | 
         |
| CAknListBoxLayoutDecorator * | iLayoutDecorator | 
| Contains a popup field selection array and a leading text that will be inserted before the text from the descriptor array
               entry.   | 
         |
| CEikButtonGroupContainer * | iCba | 
| Button group container for the popup field.   | 
         |
| CAsyncCallBack * | iAttemptExitAsync | 
Active object for calling AttemptExitCallbackL asynchronously.   | 
         |
| TInt | iFlags | 
| Flags for the popup field.   | 
         |
| TInt | iWidth | 
| Maximum line width.   | 
         |
| HBufC * | iOtherText | 
| Text to the bottom of the selection array.   | 
         |
| HBufC * | iEmptyText | 
| The empty list note text.   | 
         |
| HBufC * | iInvalidText | 
| The invalid text.   | 
         |
| TInt | iEmptyNoteResourceId | 
| Resource id for the empty note.   | 
         |
| MAknQueryValue * | iValue | 
| Query value for the popup field.   | 
         |
| MAknPopupFieldObserver * | iObserver | 
| Observer for receiving events from the popup field.   | 
         |
| EAknFormMode | iFormMode | 
| Enumeration representing form mode values.   | 
         |
| CAknNoteDialog::TTimeout | iEmptyNoteTimeout | 
| Timeout for the empty tone.   | 
         |
| CAknNoteDialog::TTone | iEmptyNoteTone | 
| Tone for the empty note.   | 
         |
| TAknDesCArrayDecorator | iDecorator | 
| Selection array for the popup field.   | 
         |
| EAknPopupFieldSelectionMode | iSelectionMode | 
| Enumeration representing selection mode values.   | 
         |
| TInt | iMaxNoLines | 
| Maximum number of items in selection array.   | 
         |
Data Structures | 
         |
| class | CAknPopupFieldBitmapButton | 
| Specialises bitmap button to make the layout correct for popup field.  More... | 
         |
               
               
  | 
         
               
               
  | 
         
| 
               
               
                Selection mode of the popup field. 
  | 
         
               
               
  | 
         
| 
               
               
                C++ default constructor.  | 
         
               
               
  | 
         
| 
               
               
                Destructor.  | 
         
               
               
  | 
         
| 
               
               
                Causes a list of pre-defined values to appear. Use this method to activate the pop-up field from a menu option command. Note that the desired control must be focused on before it can be activated.  | 
         
               
               
  | 
         
| 
               
               
                Construction tasks common to both a normal construction and a construction from a resource. 
                  Used from   | 
         
               
               
  | 
         
| 
               
               
                
                  From  Gets an indexed component of a compound control. 
 
  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Constructs the control from a resource file. 
 Reimplemented in CAknPopupFieldText.  | 
         
               
               
  | 
         
| 
               
               
                Handles 2nd phase construction.  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Gets the number of controls contained in a compound control. 
  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Called by the framework to draw the control. 
 Reimplemented from CEikBorderedControl.  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Responds to a change in focus. 
  | 
         
               
               
  | 
         
               
               
  | 
         ||||||||||||
| 
               
               
                
                  From  Handles an event from an observed control. 
  | 
         
               
               
  | 
         ||||||||||||
| 
               
               
                
                  From  
                  Processes key events from the listbox. Responds to  
  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Handles pointer events of popup field list. 
 Reimplemented from CEikBorderedControl. Reimplemented in CAknPopupFieldText.  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Handles a change to the control's resources. 
 Reimplemented from CEikBorderedControl.  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Determines the minimum size of the control. 
  | 
         
               
               
  | 
         
| 
               
               
                
                  From  
                  Retrieves an object of the same type as that encapsulated in  
 
  | 
         
               
               
  | 
         
| 
               
               
                Number of lines used. 
  | 
         
               
               
  | 
         ||||||||||||
| 
               
               
                
                  From  Handles key events. 
 
  | 
         
               
               
  | 
         
| 
               
               
                
                  From  
                  Processes events from the softkeys. Responds to  
  | 
         
               
               
  | 
         
               
               
  | 
         
| 
               
               
                Sets a flag that enables user defined entry. Note that flag can also be set from resources, but this method allows behaviour to be changed at runtime. 
  | 
         
               
               
  | 
         ||||||||||||||||
| 
               
               
                Sets the note to be displayed when the selection list has no items available. 
  | 
         
               
               
  | 
         
| 
               
               
                Sets the empty list note text. This note is displayed when the selection list has no items available. 
  | 
         
               
               
  | 
         
| 
               
               
                Sets the font of the contained label. 
  | 
         
               
               
  | 
         
| 
               
               
                Sets a form field rectangle so that a popup field can correctly position the label. 
  | 
         
               
               
  | 
         
| 
               
               
                Sets the text for view state when none of the elements in the list are available. 
  | 
         
               
               
  | 
         
| 
               
               
                /** Sets the maximium number of lines that can be displayed. 
  | 
         
               
               
  | 
         
| 
               
               
                Sets the text to be added to the bottom of the array to enter user defined data. 
  | 
         
               
               
  | 
         
| 
               
               
                Sets an observer of this class to receive events from popup field. 
  | 
         
               
               
  | 
         
| 
               
               
                Used by the client to set the query value. It is used to represent the user defined query value in this popup field control. 
  | 
         
               
               
  | 
         
| 
               
               
                Sets a flag that determines whether the indicators are shown. In practice the indicators have the appearance of radio buttons. 
  | 
         
               
               
  | 
         
| 
               
               
                
                  From  Responds to changes to the size and position of the contents of this control.  | 
         
               
               
  | 
         
| 
               
               
                
                  Active object for calling  Own.  | 
         
               
               
  | 
         
| 
               
               
                Bitmap button for the popup field. Own.  | 
         
               
               
  | 
         
| 
               
               
                Button group container for the popup field. Own.  | 
         
               
               
  | 
         
| 
               
               
                Selection array for the popup field.  | 
         
               
               
  | 
         
| 
               
               
                Resource id for the empty note.  | 
         
               
               
  | 
         
| 
               
               
                Timeout for the empty tone.  | 
         
               
               
  | 
         
| 
               
               
                Tone for the empty note.  | 
         
               
               
  | 
         
| 
               
               
                The empty list note text. Own.  | 
         
               
               
  | 
         
| 
               
               
                Flags for the popup field.  | 
         
               
               
  | 
         
| 
               
               
                Enumeration representing form mode values.  | 
         
               
               
  | 
         
| 
               
               
                The invalid text. Used in the view state when none of the elements in the list are available. Own.  | 
         
               
               
  | 
         
| 
               
               
                Label of the popup field. Own.  | 
         
               
               
  | 
         
| 
               
               
                Contains a popup field selection array and a leading text that will be inserted before the text from the descriptor array entry. Own.  | 
         
               
               
  | 
         
| 
               
               
                Maximum number of items in selection array.  | 
         
               
               
  | 
         
| 
               
               
                Observer for receiving events from the popup field. Not own.  | 
         
               
               
  | 
         
| 
               
               
                Text to the bottom of the selection array. Own.  | 
         
               
               
  | 
         
| 
               
               
                List box for the popup field usage. Own.  | 
         
               
               
  | 
         
| 
               
               
                Enumeration representing selection mode values.  | 
         
               
               
  | 
         
| 
               
               
                Query value for the popup field. Not own.  | 
         
               
               
  | 
         
| 
               
               
                Maximum line width.  |