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

ChooseAccountForm Class Reference

This class displays a form which enables the user to choose an account from a displayed account list. More...

#include <ChooseAccountForm.h>

Inheritance diagram for ChooseAccountForm:

Form Collaboration diagram for ChooseAccountForm:

Collaboration graph
[legend]
List of all members.

Public Methods

 ChooseAccountForm () FORM_SECTION1
 constructor; sets form variables. More...

Boolean handleOpenEvent () FORM_SECTION1
 initialises form. More...

Boolean handleCtlSelectEvent (UInt16 control_id) FORM_SECTION1
 handles controls. More...

Boolean handleKeyDownEvent (WChar key_id, UInt16 modifiers) FORM_SECTION1
 handles key presses. More...

Boolean handleUpdateEvent (UInt16 update_code) FORM_SECTION1
 handle updates. More...


Static Public Methods

ChooseAccountForm * instance () FORM_SECTION1
 returns singleton reference to this object. More...

void drawAccountName (Int16 itemNum, RectangleType *bounds, Char **txt) FORM_SECTION1
 callback for custom list drawing. More...


Public Attributes

bool allow_no_selection
 if true the form will allow the user to click ok without making a selection (for selecting catogories and/or the account currently explored). More...

bool allow_new_account
 allow creation of new account from this dialog. More...

UInt32 chosen_account
 choosen account. More...

bool chosen
 true if an account was chosen. More...


Static Private Attributes

ChooseAccountForm * _instance
 reference to this object. More...


Detailed Description

This class displays a form which enables the user to choose an account from a displayed account list.

Definition at line 29 of file ChooseAccountForm.h.


Constructor & Destructor Documentation

ChooseAccountForm::ChooseAccountForm  
 

constructor; sets form variables.


Member Function Documentation

void ChooseAccountForm::drawAccountName Int16    itemNum,
RectangleType *    bounds,
Char **    txt
[static]
 

callback for custom list drawing.

Boolean ChooseAccountForm::handleCtlSelectEvent UInt16    control_id [virtual]
 

handles controls.

Reimplemented from Form.

Boolean ChooseAccountForm::handleKeyDownEvent WChar    key_id,
UInt16    modifiers
[virtual]
 

handles key presses.

Reimplemented from Form.

Boolean ChooseAccountForm::handleOpenEvent   [virtual]
 

initialises form.

Reimplemented from Form.

Boolean ChooseAccountForm::handleUpdateEvent UInt16    update_code [virtual]
 

handle updates.

Reimplemented from Form.

ChooseAccountForm* ChooseAccountForm::instance   [static]
 

returns singleton reference to this object.


Member Data Documentation

ChooseAccountForm* ChooseAccountForm::_instance [static, private]
 

reference to this object.

Definition at line 59 of file ChooseAccountForm.h.

bool ChooseAccountForm::allow_new_account
 

allow creation of new account from this dialog.

Definition at line 35 of file ChooseAccountForm.h.

bool ChooseAccountForm::allow_no_selection
 

if true the form will allow the user to click ok without making a selection (for selecting catogories and/or the account currently explored).

Definition at line 33 of file ChooseAccountForm.h.

bool ChooseAccountForm::chosen
 

true if an account was chosen.

Definition at line 39 of file ChooseAccountForm.h.

UInt32 ChooseAccountForm::chosen_account
 

choosen account.

Definition at line 37 of file ChooseAccountForm.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