VCF::DefaultTableModel Class Reference
#include <vcf/ApplicationKit/DefaultTableModel.h>
Inheritance diagram for VCF::DefaultTableModel:

Public Member Functions | |
| DefaultTableModel () | |
| virtual | ~DefaultTableModel () |
| virtual void | validate () |
| validate the model. | |
| virtual void | empty () |
| clears out the model's data | |
| virtual bool | isCellEditable (const uint32 &row, const uint32 &column) |
| virtual VariantData | getValue (const uint32 &row, const uint32 &column) |
| virtual uint32 | getRowCount () |
| virtual uint32 | getColumnCount () |
| virtual bool | getRowValues (const uint32 &row, std::vector< VariantData > &values) |
| virtual bool | getColumnValues (const uint32 &col, std::vector< VariantData > &values) |
| virtual void | setFixedColumnsCount (const uint32 &count) |
| virtual void | setFixedRowsCount (const uint32 &count) |
| virtual uint32 | getFixedColumnsCount () |
| virtual uint32 | getFixedRowsCount () |
Protected Types | |
| typedef std::vector< VariantData > | TTableColumn |
| defines the a vector of TableCellItem's, or one row of data columnCount_ int32 | |
Protected Member Functions | |
| virtual bool | doInsertRow (const uint32 &afterRow) |
| virtual bool | doAddRows (const uint32 &count) |
| virtual bool | doRemoveRow (const uint32 &row) |
| virtual bool | doInsertColumn (const uint32 &afterColumn) |
| virtual bool | doAddColumns (const uint32 &count) |
| virtual bool | doRemoveColumn (const uint32 &column) |
| virtual bool | doSetValue (const uint32 &row, const uint32 &column, const VariantData &value) |
Member Typedef Documentation
|
|
defines the a vector of TableCellItem's, or one row of data columnCount_ int32
|
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
|
Reimplemented from VCF::TableModel. |
|
|
Reimplemented from VCF::TableModel. |
|
|
Reimplemented from VCF::TableModel. |
|
|
Reimplemented from VCF::TableModel. |
|
|
Reimplemented from VCF::TableModel. |
|
|
Reimplemented from VCF::TableModel. |
|
||||||||||||||||
|
Reimplemented from VCF::TableModel. |
|
|
clears out the model's data
Reimplemented from VCF::Model. |
|
|
Implements VCF::TableModel. |
|
||||||||||||
|
Implements VCF::TableModel. |
|
|
Implements VCF::TableModel. |
|
|
Implements VCF::TableModel. |
|
|
Implements VCF::TableModel. |
|
||||||||||||
|
Implements VCF::TableModel. |
|
||||||||||||
|
Implements VCF::TableModel. |
|
||||||||||||
|
Implements VCF::TableModel. |
|
|
Implements VCF::TableModel. |
|
|
Implements VCF::TableModel. |
|
|
validate the model. The implementation for this can vary widely, or even be nonexistant for model's that do not require validation. The basic idea is to call all the listeners in the list , passing in a local variable to the onModelValidate() methods of the listener's. The variable is initialized to true, and if it is still true at the end of the listener iterations, then it is safe to apply the changes to the model, other wise the changes are removed. Reimplemented from VCF::Model. |
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/DefaultTableModel.h
