#include <oofgui.h>
Inheritance diagram for dbGUIAdapter:


Subclass to provide an interface between OOFILE and your own GUI control. Makes no assumptions about control class - controls do not have to be part of any existing view hierarchy. Maps all values to string or int to communicate with the field.
generic Adapter mandatory overrides | |
| virtual dbGUIAdapter * | clone () const=0 |
| virtual oofString | getString () const=0 |
| virtual void | setString (const oofString &)=0 |
generic Adapter optional overrides | |
| virtual void | highlightContents () |
| virtual void | readOnly (bool) |
| virtual void | setFieldLink (dbFieldLink *) |
| virtual bool | equalsString (const oofString &) const |
| virtual bool | adaptsControl (void *) const |
Control Adapter overrides- defaults defined in terms of string methods | |
| virtual int | getValue () const |
| virtual void | setValue (int) |
| virtual bool | equalsValue (int) const |
Public Member Functions | |
| dbGUIAdapter () | |
| virtual | ~dbGUIAdapter () |
| dbFieldLink * | fieldLink () const |
| in case someone needs to access it | |
| bool | isValuePicker () const |
| virtual void | setValueList (dbView &) |
| Null virtual method for subclasses to override, eg dbGUIAdaptLPopupButton. | |
Protected Member Functions | |
| bool | IsReadOnly () const |
Protected Attributes | |
| dbFieldLink * | mFieldLink |
| reference, maybe null | |
| bool | mIsValuePicker |
| set at construction to indicate behaviour is picking from list vs entry | |
|
|
|
|
|
|
|
|
Reimplemented in dbGUIAdaptLControl, and dbGUIAdaptEditPane. |
|
|
Implemented in dbGUIAdaptLControl, dbGUIAdaptLCaption, dbGUIAdaptLTextEdit, and dbGUIAdaptLEditField. |
|
|
Reimplemented in dbGUIAdaptControl, dbGUIAdaptEditPane, and dbGUIAdaptLargeEditPane. |
|
|
|
|
|
in case someone needs to access it
|
|
|
Implemented in dbGUIAdaptControl, dbGUIAdaptEditPane, and dbGUIAdaptLargeEditPane. |
|
|
Reimplemented in dbGUIAdaptLControl. |
|
|
Reimplemented in dbGUIAdaptEditPane. |
|
|
|
|
|
|
|
|
Reimplemented in dbGUIAdaptLControl, dbGUIAdaptEditPane, and dbGUIAdaptLCaption. |
|
|
Reimplemented in dbGUIAdaptLControl, dbGUIAdaptEditPane, and dbGUIAdaptLCaption. |
|
|
Implemented in dbGUIAdaptControl, dbGUIAdaptEditPane, and dbGUIAdaptLargeEditPane. |
|
|
Reimplemented in dbGUIAdaptLControl. |
|
|
Null virtual method for subclasses to override, eg dbGUIAdaptLPopupButton.
Reimplemented in dbGUIAdaptLStdPopupMenu, and dbGUIAdaptLPopupButton. |
|
|
reference, maybe null
|
|
|
set at construction to indicate behaviour is picking from list vs entry
|
1.3.5