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

EditRateForm Class Reference

Form used to edit the content of a split. More...

#include <EditRateForm.h>

Inheritance diagram for EditRateForm:

Form Collaboration diagram for EditRateForm:

Collaboration graph
[legend]
List of all members.

Public Methods

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

void initForm (UInt32 src, UInt32 dest) FORM_SECTION1
 initializes the form data to start a new session. More...


Public Attributes

Results results
 holds current working data and is accessible from outside the class for reading other data. 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

char _rate_buffer [30]
 text for exchange rate display. More...

char * _src_currency_label
 text for code label of source currency. More...

char * _dest_currency_label
 text for code label of destination currency. More...

UInt32 _src_currency
 UID of source currency record. More...

UInt32 _dest_currency
 UID of destination currency record. More...


Detailed Description

Form used to edit the content of a split.

Definition at line 28 of file EditRateForm.h.


Constructor & Destructor Documentation

EditRateForm::EditRateForm  
 

constructor; initializes form.


Member Function Documentation

Boolean EditRateForm::checkData   [private]
 

checks validity of user data.

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

handles all control actions.

Reimplemented from Form.

Boolean EditRateForm::handleOpenEvent   [private, virtual]
 

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

Reimplemented from Form.

void EditRateForm::initForm UInt32    src,
UInt32    dest
 

initializes the form data to start a new session.

Parameters:
src  UID of source currency record
dest  UID of destination currency record
Note:
you also need to set the fields of the results structure directly, before poping up this form

void EditRateForm::saveData   [private]
 

saves the data introduced.


Member Data Documentation

UInt32 EditRateForm::_dest_currency [private]
 

UID of destination currency record.

Definition at line 68 of file EditRateForm.h.

char* EditRateForm::_dest_currency_label [private]
 

text for code label of destination currency.

Definition at line 64 of file EditRateForm.h.

char EditRateForm::_rate_buffer[30] [private]
 

text for exchange rate display.

Definition at line 60 of file EditRateForm.h.

UInt32 EditRateForm::_src_currency [private]
 

UID of source currency record.

Definition at line 66 of file EditRateForm.h.

char* EditRateForm::_src_currency_label [private]
 

text for code label of source currency.

Definition at line 62 of file EditRateForm.h.

Results EditRateForm::results
 

holds current working data and is accessible from outside the class for reading other data.

Definition at line 48 of file EditRateForm.h.


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