OOFILE  1.9
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
dbGUIAdaptLStdPopupMenu Class Reference

Adapter for older PowerPlant popup menu. More...

#include <oofpp.h>

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

Public Member Functions

virtual bool adaptsControl (void *) const
 
virtual dbGUIAdapterclone () const
 
 dbGUIAdaptLStdPopupMenu (LStdPopupMenu *)
 
dbFieldLinkfieldLink () const
 in case someone needs to access it More...
 
virtual int getValue () const
 
bool isValuePicker () const
 
virtual void readOnly (bool)
 
virtual void setFieldLink (dbFieldLink *)
 
virtual void setValue (int)
 
virtual void setValueList (dbView &)
 
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 optional overrides
virtual void highlightContents ()
 
Control Adapter overrides- defaults defined in terms of string methods
virtual bool equalsValue (int) const
 

Protected Member Functions

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

Protected Attributes

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

Detailed Description

Adapter for older PowerPlant popup menu.

Exists just so we can declaratively identify popup menus. The older menus work through the LControl SetValue/GetValue interface so no other behavioural changes needed.

Definition at line 165 of file oofpp.h.

Constructor & Destructor Documentation

dbGUIAdaptLStdPopupMenu::dbGUIAdaptLStdPopupMenu ( LStdPopupMenu *  inMenu)

Definition at line 508 of file oofpplk.cpp.

References dbGUIAdapter::mIsValuePicker.

Member Function Documentation

bool dbGUIAdaptLControl::adaptsControl ( void *  inControl) const
virtualinherited

Reimplemented from dbGUIAdapter.

Definition at line 160 of file oofpplk.cpp.

References dbGUIAdaptLControl::mControl.

dbGUIAdapter * dbGUIAdaptLControl::clone ( ) const
virtualinherited

Implements dbGUIAdapter.

Definition at line 128 of file oofpplk.cpp.

References dbGUIAdaptLControl::dbGUIAdaptLControl().

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

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

void dbGUIAdaptLControl::ExecuteSelf ( MessageT  inMessage,
void *  ioParam 
)
protectedvirtualinherited
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
virtualinherited

Implements dbGUIAdapter.

Definition at line 928 of file oofgui.cpp.

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

int dbGUIAdaptLControl::getValue ( ) const
virtualinherited

Reimplemented from dbGUIAdapter.

Definition at line 108 of file oofpplk.cpp.

References dbGUIAdaptLControl::mControl.

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
void dbGUIAdaptLControl::readOnly ( bool  becomeReadOnly)
virtualinherited

Reimplemented from dbGUIAdapter.

Definition at line 135 of file oofpplk.cpp.

References dbGUIAdaptLControl::mControl.

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

Implements dbGUIAdapter.

Definition at line 938 of file oofgui.cpp.

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

void dbGUIAdaptLControl::setValue ( int  inValue)
virtualinherited

Reimplemented from dbGUIAdapter.

Definition at line 117 of file oofpplk.cpp.

References dbGUIAdaptLControl::mControl.

void dbGUIAdaptLStdPopupMenu::setValueList ( dbView )
virtual
Todo:
implement to support older PowerPlant users

Reimplemented from dbGUIAdapter.

Definition at line 519 of file oofpplk.cpp.

Member Data Documentation

LControl* dbGUIAdaptLControl::mControl
protectedinherited
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(), and dbGUIAdapter::isValuePicker().


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