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

Adapter for PowerPlant edit controls for more than 255 chars. More...

#include <oofpp.h>

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

Public Member Functions

virtual bool adaptsControl (void *) const
 
 dbGUIAdaptLargeEditPane (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)
 
virtual Handle GetTextHandle () const =0
 
bool IsReadOnly () const
 
virtual void SetTextPtr (const oofString &) const =0
 

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 for more than 255 chars.

Common base adapting to editors that provide a GetTextHandle, SetTextPtr interface. Typically used to edit multiple lines.

Definition at line 231 of file oofpp.h.

Constructor & Destructor Documentation

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

Definition at line 308 of file oofpplk.cpp.

Member Function Documentation

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

Reimplemented from dbGUIAdapter.

Definition at line 299 of file oofpplk.cpp.

References dbGUIAdaptEditPane::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 dbGUIAdaptEditPane::ExecuteSelf().

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

Reimplemented from dbGUIAdaptEditPane.

Definition at line 332 of file oofpplk.cpp.

References GetTextHandle().

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 
)
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 dbGUIAdaptLargeEditPane::getString ( ) const
virtual

Reimplemented from dbGUIAdaptEditPane.

Definition at line 314 of file oofpplk.cpp.

References GetTextHandle().

virtual Handle dbGUIAdaptLargeEditPane::GetTextHandle ( ) const
protectedpure virtual

Implemented in dbGUIAdaptLTextEdit.

Referenced by equalsString(), and getString().

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

Reimplemented from dbGUIAdapter.

Definition at line 177 of file oofpplk.cpp.

References dbGUIAdaptEditPane::mCommander.

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

Reimplemented from dbGUIAdapter.

Reimplemented in dbGUIAdaptLCaption.

Definition at line 185 of file oofpplk.cpp.

References dbGUIAdaptEditPane::mPane.

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

Reimplemented from dbGUIAdaptEditPane.

Definition at line 325 of file oofpplk.cpp.

References SetTextPtr().

void dbGUIAdaptEditor::setTextEntryLimit ( unsigned  long)
virtualinherited

Reimplemented in dbGUIAdaptLEditField.

Definition at line 967 of file oofgui.cpp.

Referenced by dbGUIAdaptEditPane::setFieldLink().

virtual void dbGUIAdaptLargeEditPane::SetTextPtr ( const oofString ) const
protectedpure virtual

Implemented in dbGUIAdaptLTextEdit.

Referenced by setString().

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
protectedinherited

Definition at line 221 of file oofpp.h.

Referenced by dbGUIAdaptEditPane::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
protectedinherited

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