OOFILE  1.9
Public Member Functions | List of all members
dbGUIAdapterFactoryPP Class Reference

Simplify dbEditHelper by creating correct Adapter based on control type. More...

#include <oofpp.h>

Public Member Functions

 dbGUIAdapterFactoryPP (LCaption *)
 
 dbGUIAdapterFactoryPP (LControl *)
 
 dbGUIAdapterFactoryPP (LStdPopupMenu *)
 
 dbGUIAdapterFactoryPP (LPopupButton *)
 
 dbGUIAdapterFactoryPP (LEditField *)
 
 dbGUIAdapterFactoryPP (LTextEdit *)
 
bool defaultBecomeReadOnly () const
 
dbGUIAdapterorphanAdapter () const
 

Detailed Description

Simplify dbEditHelper by creating correct Adapter based on control type.

The correct constructor of this class will be invoked and make an adapter, rather than having to declare an ever-expanding list of classes. Copying uses default copy ctor, copying mAdapter. We use default dtor, so don't delete our mAdapter

Definition at line 416 of file oofpp.h.

Constructor & Destructor Documentation

dbGUIAdapterFactoryPP::dbGUIAdapterFactoryPP ( LCaption *  ctl)
inline

Definition at line 628 of file oofpp.h.

dbGUIAdapterFactoryPP::dbGUIAdapterFactoryPP ( LControl *  ctl)
inline

Definition at line 635 of file oofpp.h.

dbGUIAdapterFactoryPP::dbGUIAdapterFactoryPP ( LStdPopupMenu *  ctl)
inline

Definition at line 642 of file oofpp.h.

dbGUIAdapterFactoryPP::dbGUIAdapterFactoryPP ( LPopupButton *  ctl)
inline

Definition at line 649 of file oofpp.h.

dbGUIAdapterFactoryPP::dbGUIAdapterFactoryPP ( LEditField ctl)
inline

Definition at line 672 of file oofpp.h.

dbGUIAdapterFactoryPP::dbGUIAdapterFactoryPP ( LTextEdit *  ctl)
inline

Definition at line 679 of file oofpp.h.

Member Function Documentation

bool dbGUIAdapterFactoryPP::defaultBecomeReadOnly ( ) const
inline

Definition at line 692 of file oofpp.h.

Referenced by dbEditHelper::linkField(), and dbEditHelper::linkPickField().

dbGUIAdapter * dbGUIAdapterFactoryPP::orphanAdapter ( ) const
inline

Definition at line 686 of file oofpp.h.

Referenced by dbEditHelper::linkField(), and dbEditHelper::linkPickField().


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