Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dbGUIAdaptLPopupButton Class Reference

#include <oofpp.h>

Inheritance diagram for dbGUIAdaptLPopupButton:

Inheritance graph
[legend]
Collaboration diagram for dbGUIAdaptLPopupButton:

Collaboration graph
[legend]
List of all members.

Detailed Description

Adapter for new PowerPlant popup menu.

Exists just so we can declaratively identify popup menus. Still rely on the LControl SetValue/GetValue interface.

Todo:
investigate generalising back to LMenuController but need to cope with buttons that are just plain buttons, like LBevelButton.


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

Public Member Functions

 dbGUIAdaptLPopupButton (LPopupButton *)
virtual void setValueList (dbView &)
 Clear the menu and reset from dbView.

virtual dbGUIAdapterclone () const
virtual bool adaptsControl (void *) const
virtual void readOnly (bool)
virtual void setFieldLink (dbFieldLink *)
virtual int getValue () const
virtual void setValue (int)
dbFieldLinkfieldLink () const
 in case someone needs to access it

bool isValuePicker () const

Protected Member Functions

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

Protected Attributes

LMenuController * mMenuController
LControl * mControl
dbFieldLinkmFieldLink
 reference, maybe null

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


Constructor & Destructor Documentation

dbGUIAdaptLPopupButton::dbGUIAdaptLPopupButton LPopupButton *   ) 
 


Member Function Documentation

bool dbGUIAdaptLControl::adaptsControl void *   )  const [virtual, inherited]
 

Reimplemented from dbGUIAdapter.

dbGUIAdapter * dbGUIAdaptLControl::clone  )  const [virtual, inherited]
 

Implements dbGUIAdapter.

bool dbGUIAdaptControl::equalsString const oofString  )  const [virtual, inherited]
 

Reimplemented from dbGUIAdapter.

bool dbGUIAdapter::equalsValue int   )  const [virtual, inherited]
 

void dbGUIAdaptLControl::ExecuteSelf MessageT  inMessage,
void *  ioParam
[protected, virtual, inherited]
 

dbFieldLink * dbGUIAdapter::fieldLink  )  const [inline, inherited]
 

in case someone needs to access it

oofString dbGUIAdaptControl::getString  )  const [virtual, inherited]
 

Implements dbGUIAdapter.

int dbGUIAdaptLControl::getValue  )  const [virtual, inherited]
 

Reimplemented from dbGUIAdapter.

virtual void dbGUIAdapter::highlightContents  )  [inline, virtual, inherited]
 

Reimplemented in dbGUIAdaptEditPane.

bool dbGUIAdapter::IsReadOnly  )  const [inline, protected, inherited]
 

bool dbGUIAdapter::isValuePicker  )  const [inline, inherited]
 

void dbGUIAdaptLControl::readOnly bool   )  [virtual, inherited]
 

Reimplemented from dbGUIAdapter.

void dbGUIAdaptLControl::setFieldLink dbFieldLink  )  [virtual, inherited]
 

Reimplemented from dbGUIAdapter.

void dbGUIAdaptControl::setString const oofString  )  [virtual, inherited]
 

Implements dbGUIAdapter.

void dbGUIAdaptLControl::setValue int   )  [virtual, inherited]
 

Reimplemented from dbGUIAdapter.

void dbGUIAdaptLPopupButton::setValueList dbView inView  )  [virtual]
 

Clear the menu and reset from dbView.

Parameters:
inView view we just use first field from to get contents
Todo:
work out way to handle multiple fields from view, maybe just space them out?

Reimplemented from dbGUIAdapter.


Member Data Documentation

LControl* dbGUIAdaptLControl::mControl [protected, inherited]
 

dbFieldLink* dbGUIAdapter::mFieldLink [protected, inherited]
 

reference, maybe null

bool dbGUIAdapter::mIsValuePicker [protected, inherited]
 

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

LMenuController* dbGUIAdaptLPopupButton::mMenuController [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 1 21:38:52 2004 for OOFILE by doxygen 1.3.5