OOFILE  1.9
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
dbGUIAdaptControl Class Referenceabstract

Abstract base for Controls. More...

#include <oofgui.h>

Inheritance diagram for dbGUIAdaptControl:
Inheritance graph
[legend]
Collaboration diagram for dbGUIAdaptControl:
Collaboration graph
[legend]

Public Member Functions

dbFieldLinkfieldLink () const
 in case someone needs to access it More...
 
bool isValuePicker () const
 
virtual void setValueList (dbView &)
 Null virtual method for subclasses to override, eg dbGUIAdaptLPopupButton. More...
 
generic Adapter mandatory overrides
virtual oofString getString () const
 
virtual void setString (const oofString &)
 
generic Adapter optional overrides
virtual bool equalsString (const oofString &) const
 
generic Adapter mandatory overrides
virtual dbGUIAdapterclone () const =0
 
generic Adapter optional overrides
virtual void highlightContents ()
 
virtual void readOnly (bool)
 
virtual void setFieldLink (dbFieldLink *)
 
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
 

Protected Member Functions

bool IsReadOnly () const
 

Protected Attributes

dbFieldLinkmFieldLink
 reference, maybe null More...
 
bool mIsValuePicker
 set at construction to indicate behaviour is picking from list vs entry More...
 

Detailed Description

Abstract base for Controls.

Definition at line 121 of file oofgui.h.

Member Function Documentation

bool dbGUIAdapter::adaptsControl ( void *  ) const
virtualinherited

Reimplemented in dbGUIAdaptEditPane, and dbGUIAdaptLControl.

Definition at line 908 of file oofgui.cpp.

Referenced by dbAbstractEditHelper::getLink().

virtual dbGUIAdapter* dbGUIAdapter::clone ( ) const
pure virtualinherited
bool dbGUIAdaptControl::equalsString ( const oofString inString) const
virtual

Reimplemented from dbGUIAdapter.

Definition at line 946 of file oofgui.cpp.

References oofString::asLong(), and dbGUIAdapter::getValue().

bool dbGUIAdapter::equalsValue ( int  inValue) const
virtualinherited

Definition at line 899 of file oofgui.cpp.

References dbGUIAdapter::getValue().

dbFieldLink * dbGUIAdapter::fieldLink ( ) const
inlineinherited

in case someone needs to access it

Definition at line 723 of file oofgui.h.

References dbGUIAdapter::mFieldLink.

oofString dbGUIAdaptControl::getString ( ) const
virtual

Implements dbGUIAdapter.

Definition at line 928 of file oofgui.cpp.

References oofString::convertNumber(), and dbGUIAdapter::getValue().

int dbGUIAdapter::getValue ( ) const
virtualinherited
virtual void dbGUIAdapter::highlightContents ( )
inlinevirtualinherited

Reimplemented in dbGUIAdaptEditPane.

Definition at line 94 of file oofgui.h.

Referenced by dbFieldLink::highlightLink().

bool dbGUIAdapter::IsReadOnly ( ) const
inlineprotectedinherited

Definition at line 716 of file oofgui.h.

References dbFieldLink::isReadOnly(), and dbGUIAdapter::mFieldLink.

Referenced by dbGUIAdaptEditPane::ExecuteSelf().

bool dbGUIAdapter::isValuePicker ( ) const
inlineinherited
virtual void dbGUIAdapter::readOnly ( bool  )
inlinevirtualinherited

Reimplemented in dbGUIAdaptLCaption, dbGUIAdaptEditPane, and dbGUIAdaptLControl.

Definition at line 95 of file oofgui.h.

Referenced by dbGUIAdaptLCaption::readOnly().

void dbGUIAdapter::setFieldLink ( dbFieldLink inLink)
virtualinherited
void dbGUIAdaptControl::setString ( const oofString inString)
virtual

Implements dbGUIAdapter.

Definition at line 938 of file oofgui.cpp.

References oofString::asLong(), and dbGUIAdapter::setValue().

void dbGUIAdapter::setValue ( int  inValue)
virtualinherited

Reimplemented in dbGUIAdaptLControl.

Definition at line 890 of file oofgui.cpp.

References dbGUIAdapter::setString().

Referenced by dbFieldPickLink::copyFieldToLink(), dbBoolLink::copyFieldToLink(), and setString().

void dbGUIAdapter::setValueList ( dbView )
virtualinherited

Null virtual method for subclasses to override, eg dbGUIAdaptLPopupButton.

Reimplemented in dbGUIAdaptLPopupButton, and dbGUIAdaptLStdPopupMenu.

Definition at line 918 of file oofgui.cpp.

Referenced by dbFieldPickLink::copyFieldToLink().

Member Data Documentation

dbFieldLink* dbGUIAdapter::mFieldLink
protectedinherited
bool dbGUIAdapter::mIsValuePicker
protectedinherited

set at construction to indicate behaviour is picking from list vs entry

Definition at line 113 of file oofgui.h.

Referenced by dbGUIAdaptLPopupButton::dbGUIAdaptLPopupButton(), dbGUIAdaptLStdPopupMenu::dbGUIAdaptLStdPopupMenu(), and dbGUIAdapter::isValuePicker().


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