Nokia N97 SDK
Example Applications Guide

CAknExPopFieldBaseDialog Class Reference

#include <aknexpopfieldbasedialog.h>

Inheritance diagram for CAknExPopFieldBaseDialog:

CAknExPopFieldAttribSetDialog CAknExPopFieldManyLineDialog CAknExPopFieldMultiPageDialog CAknExPopFieldOptionalListDialog CAknExPopFieldTextValueDialog List of all members.

Detailed Description

CAknExPopFieldDialog

Definition at line 27 of file aknexpopfieldbasedialog.h.


Public Member Functions

virtual  ~CAknExPopFieldBaseDialog ()
virtual void  DynInitMenuPaneL (TInt aResourceId, CEikMenuPane *aMenuPane)
virtual void  ProcessCommandL (TInt aCommandId)

Protected Member Functions

  CAknExPopFieldBaseDialog ()
virtual TBool  OkToExitL (TInt aButtonId)

Private Member Functions

virtual void  ConfigurePopfieldValueL ()=0
void  PreLayoutDynInitL ()
void  PostLayoutDynInitL ()


Constructor & Destructor Documentation

CAknExPopFieldBaseDialog::~CAknExPopFieldBaseDialog (   )  [virtual]
 

CAknExPopFieldBaseDialog Virtual Destructor.

Definition at line 43 of file aknexpopfieldbasedialog.cpp.

00044     {
00045     // No implementation required
00046     }

CAknExPopFieldBaseDialog::CAknExPopFieldBaseDialog (   )  [protected]
 

CAknExPopFieldBaseDialog C++ default constructor.

Definition at line 32 of file aknexpopfieldbasedialog.cpp.

00033     {
00034     // No implementation required
00035     }


Member Function Documentation

void CAknExPopFieldBaseDialog::DynInitMenuPaneL (  TInt  aResourceId,
CEikMenuPane *  aMenuPane
)  [virtual]
 

From CAknDialog, DynInitMenuPaneL. Dims "Label", "Add" and "Delete" menu items.

Parameters:
aResourceId 
aMenuPane  Pointer to menu-pane object.

Reimplemented in CAknExPopFieldAttribSetDialog.

Definition at line 54 of file aknexpopfieldbasedialog.cpp.

Referenced by CAknExPopFieldAttribSetDialog::DynInitMenuPaneL().

00056     {
00057     CAknForm::DynInitMenuPaneL( aResourceId, aMenuPane );
00058     if ( aResourceId == R_AVKON_FORM_MENUPANE )
00059         {
00060         aMenuPane->SetItemDimmed( EAknFormCmdLabel, ETrue );
00061         aMenuPane->SetItemDimmed( EAknFormCmdAdd, ETrue );
00062         aMenuPane->SetItemDimmed( EAknFormCmdDelete, ETrue );
00063         }
00064     }

void CAknExPopFieldBaseDialog::ProcessCommandL (  TInt  aCommandId  )  [virtual]
 

From CAknDialog, ProcessCommandL.

Parameters:
aCommandId 

Reimplemented in CAknExPopFieldAttribSetDialog.

Definition at line 71 of file aknexpopfieldbasedialog.cpp.

00072     {
00073     CAknForm::ProcessCommandL( aCommandId );
00074     }

TBool CAknExPopFieldBaseDialog::OkToExitL (  TInt  aButtonId  )  [protected, virtual]
 

From CAknDialog, OkToExitL.

Parameters:
aButtonId 
Returns:
TBool ok to Exit?

Reimplemented in CAknExPopFieldAttribSetDialog, and CAknExPopFieldTextValueDialog.

Definition at line 81 of file aknexpopfieldbasedialog.cpp.

Referenced by CAknExPopFieldTextValueDialog::OkToExitL(), and CAknExPopFieldAttribSetDialog::OkToExitL().

00082     {
00083     return CAknForm::OkToExitL( aButtonId );
00084     }

virtual void CAknExPopFieldBaseDialog::ConfigurePopfieldValueL (   )  [private, pure virtual]
 

Configuration values into Popup Fields. This is pure virtual function.

Implemented in CAknExPopFieldAttribSetDialog, CAknExPopFieldManyLineDialog, CAknExPopFieldMultiPageDialog, CAknExPopFieldOptionalListDialog, and CAknExPopFieldTextValueDialog.

Referenced by PreLayoutDynInitL().

void CAknExPopFieldBaseDialog::PreLayoutDynInitL (   )  [private]
 

From CEikDialog, PreLayoutDynInitL. Initialises the dialog's controls before the dialog is sized and layed out.

Definition at line 91 of file aknexpopfieldbasedialog.cpp.

References ConfigurePopfieldValueL().

00092     {
00093     ConfigurePopfieldValueL();
00094     }

void CAknExPopFieldBaseDialog::PostLayoutDynInitL (   )  [private]
 

From CEikDialog, PostLayoutDynInitL. Initialises the dialog's controls after the dialog has been sized but before it has been activated.

Definition at line 102 of file aknexpopfieldbasedialog.cpp.

00103     {
00104     SetEditableL( EFalse );
00105     SaveFormDataL();
00106     }


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

© Nokia 2009

Back to top