This is necessary because application code may have dialogs based on LGADialog or other base classes.
Any buttons not initialised will not be implemented so the entire movement approach can be ignored if desired.
|
Public Member Functions |
| virtual void | maybeChangeTargetLink (dbFieldLink *) |
| virtual dbTable * | table () const |
| virtual void | subscribeTo (oofBroadcaster *) |
| virtual void | unsubscribe (oofBroadcaster *from=0) |
| void | suspendListening () |
| void | resumeListening () |
| virtual bool | receiveMsg (OOFmsgT msg, unsigned long senderDefined) |
| | The default receiveMsg behaviour is to delete yourself when the broadcaster closes.
|
Protected Types |
| enum | movementT {
eGoFirst,
eGoLast,
eGoLeft,
eGoRight,
eGoUp,
eGoDown
} |
Protected Member Functions |
| | OOF_mixRepCellEditor () |
| virtual void | InitMovementControls (LControl *inFirst, LControl *inLast, LControl *inUp, LControl *inDown, LControl *inLeft, LControl *inRight, LControl *inPrevItem=NULL, LControl *inNextItem=NULL) |
| virtual void | InitEditControls (dbGUIAdapter *adoptedContentAdapter, LControl *inOK=NULL, LControl *inCancel=NULL) |
| virtual void | UpdateMovementButtons () |
| | We are initialised with a cell position and maintain it ourselves so can query the link and enable buttons to suit.
|
| virtual void | FinishCreationByLinkingDataModel (oofRepEditingEnv *, oofRepEditLink *) |
| virtual void | UnableToMoveWarning (movementT, bool movingByCell) |
| | default beep
|
| virtual void | GoToAnotherCell (movementT) |
| virtual void | GoToAnotherItem (movementT) |
| | Separate out item movement from cell movement because you may wish to implement one but use default for the other.
|
| virtual void | LoadCellEditField () |
| | Typical reasons to override - want to display location or a different display of the editable state (eg: visible lock icon).
|
| virtual bool | AttemptSaveCellEditField () |
| void | LoadAndUpdate () |
| | separation of these three steps, which commonly occurs, is example of the Template Method pattern allowing for overriding of minor points
|
| void | EnterLink (oofRepEditLink *) |
| virtual void | maybeDirty (dbFieldLink *) |
Protected Attributes |
| LControl * | mOKButton |
| LControl * | mCancelButton |
| LControl * | mGoFirstButton |
| LControl * | mGoLastButton |
| LControl * | mGoUpButton |
| LControl * | mGoDownButton |
| LControl * | mGoLeftButton |
| LControl * | mGoRightCellButton |
| LControl * | mGoPrevItemButton |
| LControl * | mGoNextItemButton |
| bool | mAnyContentDirtied |
| oofRepEditingEnv * | mEnv |
| oofRepEditLink * | mCurrentLink |
| dbGUIAdapter * | mAdapter |
| oofBroadcaster * | mListensTo |
| oofBroadcaster * | mSuspendedListensTo |
| unsigned short | mSuspendCount |