Main Page   Class Hierarchy   Compound List   File List   Compound Members  

AddressGridTable Class Reference

Serializable wxGridTable. More...

#include <AddressGridTable.h>

Inheritance diagram for AddressGridTable::

wxGridTableBaseWithNotifyMethods List of all members.

Public Methods

void Initialize ()
 Deletes and initializes the table with default values. More...

void Initialize (wxDataInputStream &in)
 Initializes the table from a stream. More...

void serialize (wxDataOutputStream &out)
 Saves the table to a stream. More...

void Sort (int col1, int col2, int col3)
 Sort the table. More...

void ChangeColumns (ColumnFieldArray &column)
 Rename, move, add and delete columns. More...


Detailed Description

Serializable wxGridTable.

Definition at line 88 of file AddressGridTable.h.


Member Function Documentation

void AddressGridTable::ChangeColumns ColumnFieldArray &    columns
 

Rename, move, add and delete columns.

Parameters:
column  The new columns, referencing old columns, if moved or renamed.

Definition at line 538 of file AddressGridTable.cpp.

References wxGridTableBaseWithNotifyMethods::NotifyColsAppended(), and wxGridTableBaseWithNotifyMethods::NotifyRowsAppended().

Referenced by AddressManagerFrame::OnMenuTableConfig().

void AddressGridTable::Initialize wxDataInputStream &    in
 

Initializes the table from a stream.

Parameters:
in  The stream from which the table data will be loaded.

Definition at line 422 of file AddressGridTable.cpp.

References wxGridTableBaseWithNotifyMethods::NotifyColsAppended(), and wxGridTableBaseWithNotifyMethods::NotifyRowsAppended().

void AddressGridTable::Initialize  
 

Deletes and initializes the table with default values.

Definition at line 404 of file AddressGridTable.cpp.

References wxGridTableBaseWithNotifyMethods::NotifyColsAppended(), and wxGridTableBaseWithNotifyMethods::NotifyRowsAppended().

Referenced by AddressManagerFrame::OnMenuFileNew(), and AddressManagerFrame::OnMenuFileOpen().

void AddressGridTable::serialize wxDataOutputStream &    out
 

Saves the table to a stream.

Parameters:
in  The stream to which the table data will be saved.

Definition at line 101 of file AddressGridTable.cpp.

Referenced by AddressManagerFrame::FileSaveImpl().

void AddressGridTable::Sort int    col1,
int    col2,
int    col3
 

Sort the table.

Parameters:
col1  Index of the first column, which will be used for sorting.
col2  Index of the second column, which will be used for sorting or -1, if only sorting with one column.
col3  Index of the third column, which will be used for sorting or -1, if only sorting with two columns.

Definition at line 494 of file AddressGridTable.cpp.

References wxGridTableBaseWithNotifyMethods::NotifyRowsAppended(), and wxGridTableBaseWithNotifyMethods::NotifyRowsDeleted().

Referenced by AddressManagerFrame::OnMenuTableSort().


Generated on Thu May 2 15:13:51 2002 for Wino by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001