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