Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

EditCurrencyForm Class Reference

Form used to edit currency entries. More...

#include <EditCurrencyForm.h>

Inheritance diagram for EditCurrencyForm:

Form Collaboration diagram for EditCurrencyForm:

Collaboration graph
[legend]
List of all members.

Public Methods

 EditCurrencyForm () FORM_SECTION1
 constructor; initializes form. More...

void setRecordIsNew (Boolean b)
 instructs the form to treat the upcoming session as new or edit. More...


Private Methods

Boolean checkData () FORM_SECTION1
 checks validity of user data. More...

void saveData () FORM_SECTION1
 saves the data introduced. More...

Boolean handleOpenEvent () FORM_SECTION1
 sets up form, fills in fields (if edit mode). More...

Boolean handleCtlSelectEvent (UInt16 control_id) FORM_SECTION1
 handles all control actions. More...


Private Attributes

currencyStructure _currency
 holds data being edited. More...

bool _record_is_new
 true if the record being edited is a new record. More...

MemHandle _currency_handle
 handle to the currently edited currency. More...

Char _rate_buffer [20]
 buffer holding the text for the conversion rate. More...


Detailed Description

Form used to edit currency entries.

Definition at line 29 of file EditCurrencyForm.h.


Constructor & Destructor Documentation

EditCurrencyForm::EditCurrencyForm  
 

constructor; initializes form.


Member Function Documentation

Boolean EditCurrencyForm::checkData   [private]
 

checks validity of user data.

Boolean EditCurrencyForm::handleCtlSelectEvent UInt16    control_id [private, virtual]
 

handles all control actions.

Reimplemented from Form.

Boolean EditCurrencyForm::handleOpenEvent   [private, virtual]
 

sets up form, fills in fields (if edit mode).

Reimplemented from Form.

void EditCurrencyForm::saveData   [private]
 

saves the data introduced.

void EditCurrencyForm::setRecordIsNew Boolean    b [inline]
 

instructs the form to treat the upcoming session as new or edit.

Parameters:
b  if true, a new record is going to be created

Definition at line 36 of file EditCurrencyForm.h.

References _record_is_new.


Member Data Documentation

currencyStructure EditCurrencyForm::_currency [private]
 

holds data being edited.

Definition at line 39 of file EditCurrencyForm.h.

MemHandle EditCurrencyForm::_currency_handle [private]
 

handle to the currently edited currency.

Definition at line 43 of file EditCurrencyForm.h.

Char EditCurrencyForm::_rate_buffer[20] [private]
 

buffer holding the text for the conversion rate.

Definition at line 45 of file EditCurrencyForm.h.

bool EditCurrencyForm::_record_is_new [private]
 

true if the record being edited is a new record.

Definition at line 41 of file EditCurrencyForm.h.

Referenced by setRecordIsNew.


The documentation for this class was generated from the following file:
Generated on Thu Jan 16 23:11:14 2003 for FreeCoins by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002