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

Adapter for PowerPlant edit controls. More...

#include <oofpp.h>

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

Public Member Functions

virtual bool adaptsControl (void *) const
 
 dbGUIAdaptEditPane (LPane *, LCommander *editCommander=0)
 
virtual void editingOccurred ()
 signals changes to anyone who needs to know More...
 
virtual bool equalsString (const oofString &) const
 
dbFieldLinkfieldLink () const
 in case someone needs to access it More...
 
virtual oofString getString () const
 
virtual void highlightContents ()
 
bool isValuePicker () const
 
virtual void readOnly (bool)
 
virtual void setFieldLink (dbFieldLink *)
 
virtual void setString (const oofString &)
 
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
 
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

virtual void ExecuteSelf (MessageT inMessage, void *ioParam)
 
bool IsReadOnly () const
 

Protected Attributes

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

Detailed Description

Adapter for PowerPlant edit controls.

All PowerPlant edit controls descend from LPane.

Definition at line 202 of file oofpp.h.

Constructor & Destructor Documentation

dbGUIAdaptEditPane::dbGUIAdaptEditPane ( LPane inPane,
LCommander editCommander = 0 
)

Definition at line 169 of file oofpplk.cpp.

Member Function Documentation

bool dbGUIAdaptEditPane::adaptsControl ( void *  inControl) const
virtual

Reimplemented from dbGUIAdapter.

Definition at line 299 of file oofpplk.cpp.

References mPane.

virtual dbGUIAdapter* dbGUIAdapter::clone ( ) const
pure virtualinherited
void dbGUIAdaptEditor::editingOccurred ( )
virtualinherited

signals changes to anyone who needs to know

Definition at line 960 of file oofgui.cpp.

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

Referenced by ExecuteSelf().

bool dbGUIAdaptEditPane::equalsString ( const oofString inString) const
virtual

Reimplemented from dbGUIAdapter.

Reimplemented in dbGUIAdaptLargeEditPane.

Definition at line 289 of file oofpplk.cpp.

References mPane.

bool dbGUIAdapter::equalsValue ( int  inValue) const
virtualinherited

Definition at line 899 of file oofgui.cpp.

References dbGUIAdapter::getValue().

void dbGUIAdaptEditPane::ExecuteSelf ( MessageT  inMessage,
void *  ioParam 
)
protectedvirtual
dbFieldLink * dbGUIAdapter::fieldLink ( ) const
inlineinherited

in case someone needs to access it

Definition at line 723 of file oofgui.h.

References dbGUIAdapter::mFieldLink.

oofString dbGUIAdaptEditPane::getString ( ) const
virtual

Implements dbGUIAdapter.

Reimplemented in dbGUIAdaptLargeEditPane.

Definition at line 269 of file oofpplk.cpp.

References mPane, and oofString::setStr255().

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

Reimplemented from dbGUIAdapter.

Definition at line 177 of file oofpplk.cpp.

References mCommander.

bool dbGUIAdapter::IsReadOnly ( ) const
inlineprotectedinherited

Definition at line 716 of file oofgui.h.

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

Referenced by ExecuteSelf().

bool dbGUIAdapter::isValuePicker ( ) const
inlineinherited
void dbGUIAdaptEditPane::readOnly ( bool  becomeReadOnly)
virtual

Reimplemented from dbGUIAdapter.

Reimplemented in dbGUIAdaptLCaption.

Definition at line 185 of file oofpplk.cpp.

References mPane.

void dbGUIAdaptEditPane::setFieldLink ( dbFieldLink inLink)
virtual
void dbGUIAdaptEditPane::setString ( const oofString inString)
virtual

Implements dbGUIAdapter.

Reimplemented in dbGUIAdaptLargeEditPane.

Definition at line 280 of file oofpplk.cpp.

References oofString::getStr255(), and mPane.

void dbGUIAdaptEditor::setTextEntryLimit ( unsigned  long)
virtualinherited

Reimplemented in dbGUIAdaptLEditField.

Definition at line 967 of file oofgui.cpp.

Referenced by 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

LCommander* dbGUIAdaptEditPane::mCommander
protected

Definition at line 221 of file oofpp.h.

Referenced by highlightContents().

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().

LPane* dbGUIAdaptEditPane::mPane
protected

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