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

base for any text editing Adapters. More...

#include <oofgui.h>

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

Public Member Functions

virtual void editingOccurred ()
 signals changes to anyone who needs to know More...
 
dbFieldLinkfieldLink () const
 in case someone needs to access it More...
 
bool isValuePicker () const
 
virtual void setTextEntryLimit (unsigned long)
 
virtual void setValueList (dbView &)
 Null virtual method for subclasses to override, eg dbGUIAdaptLPopupButton. More...
 
generic Adapter mandatory overrides
virtual dbGUIAdapterclone () 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
 

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

base for any text editing Adapters.

Definition at line 142 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
void dbGUIAdaptEditor::editingOccurred ( )
virtual

signals changes to anyone who needs to know

Definition at line 960 of file oofgui.cpp.

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

Referenced by dbGUIAdaptEditPane::ExecuteSelf().

bool dbGUIAdapter::equalsString ( const oofString inString) const
virtualinherited

Reimplemented in dbGUIAdaptLargeEditPane, dbGUIAdaptEditPane, and dbGUIAdaptControl.

Definition at line 871 of file oofgui.cpp.

References dbGUIAdapter::getString().

Referenced by dbFieldLink::linkEqualsField().

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.

virtual oofString dbGUIAdapter::getString ( ) const
pure virtualinherited
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
virtual void dbGUIAdapter::setString ( const oofString )
pure virtualinherited
void dbGUIAdaptEditor::setTextEntryLimit ( unsigned  long)
virtual

Reimplemented in dbGUIAdaptLEditField.

Definition at line 967 of file oofgui.cpp.

Referenced by dbGUIAdaptEditPane::setFieldLink().

void dbGUIAdapter::setValue ( int  inValue)
virtualinherited
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: