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

TransactionsTable Class Reference

Revision:
1.10
Last updated:
Date:
2002/09/20 12:21:31
. More...

#include <TransactionsTable.h>

Inheritance diagram for TransactionsTable:

Table Collaboration diagram for TransactionsTable:

Collaboration graph
[legend]
List of all members.

Public Methods

 TransactionsTable ()
 initialises the table. More...

void loadData ()
 loads data into the accounts table. More...

void initColumns ()
 inits the columns in the table. More...

Boolean recordIsValid (UInt16 id)
 overloads the method in Table. More...


Static Public Methods

void drawCurrency (void *table, Int16 row, Int16 column, RectangleType *bounds)
 draws a sum of money (callback). More...

void drawDate (void *table, Int16 row, Int16 column, RectangleType *bounds)
 draws a date (callback). More...

void drawAcc (void *table, Int16 row, Int16 column, RectangleType *bounds)
 draw the account name (source or dest; the one which is different from the present account) - callback. More...


Static Public Attributes

const Int16 date_col = 0
 code for the date column. More...

const Int16 dest_col = 1
 code for the peer name/destination account column. More...

const Int16 amount_col = 2
 code for the amount column. More...

const Int16 cleared_col = 3
 code for the column displaying the cleared status. More...


Detailed Description

Revision:
1.10
Last updated:
Date:
2002/09/20 12:21:31
.

Copyright (C) 2000-2002 Vlad Mereuta <dizzy@users.sourceforge.net>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition at line 27 of file TransactionsTable.h.


Constructor & Destructor Documentation

TransactionsTable::TransactionsTable  
 

initialises the table.


Member Function Documentation

void TransactionsTable::drawAcc void *    table,
Int16    row,
Int16    column,
RectangleType *    bounds
[static]
 

draw the account name (source or dest; the one which is different from the present account) - callback.

void TransactionsTable::drawCurrency void *    table,
Int16    row,
Int16    column,
RectangleType *    bounds
[static]
 

draws a sum of money (callback).

void TransactionsTable::drawDate void *    table,
Int16    row,
Int16    column,
RectangleType *    bounds
[static]
 

draws a date (callback).

void TransactionsTable::initColumns   [virtual]
 

inits the columns in the table.

Implements Table.

void TransactionsTable::loadData   [virtual]
 

loads data into the accounts table.

Implements Table.

Boolean TransactionsTable::recordIsValid UInt16    id [virtual]
 

overloads the method in Table.

Implements Table.


Member Data Documentation

const Int16 TransactionsTable::amount_col = 2 [static]
 

code for the amount column.

Definition at line 35 of file TransactionsTable.h.

const Int16 TransactionsTable::cleared_col = 3 [static]
 

code for the column displaying the cleared status.

Definition at line 37 of file TransactionsTable.h.

const Int16 TransactionsTable::date_col = 0 [static]
 

code for the date column.

Definition at line 31 of file TransactionsTable.h.

const Int16 TransactionsTable::dest_col = 1 [static]
 

code for the peer name/destination account column.

Definition at line 33 of file TransactionsTable.h.


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