VCF::TableModel Class Reference
#include <vcf/ApplicationKit/TableModel.h>
Inheritance diagram for VCF::TableModel:
List of all members.
|
Public Member Functions |
| virtual | ~TableModel () |
| virtual bool | isEmpty () |
| | Returns whether or not the model has an data.
|
| virtual void | addRow () |
| void | insertRow (const uint32 &afterRow) |
| void | addRows (const uint32 &count) |
| void | removeRow (const uint32 &row) |
| virtual void | addColumn () |
| void | insertColumn (const uint32 &afterColumn) |
| void | addColumns (const uint32 &count) |
| void | removeColumn (const uint32 &column) |
| virtual bool | isCellEditable (const uint32 &row, const uint32 &column)=0 |
| virtual VariantData | getValue (const uint32 &row, const uint32 &column)=0 |
| virtual String | getValueAsString (const uint32 &row, const uint32 &column) |
| void | setValue (const uint32 &row, const uint32 &column, const VariantData &value) |
| virtual void | setValueAsString (const uint32 &row, const uint32 &column, const String &value) |
| virtual uint32 | getRowCount ()=0 |
| virtual uint32 | getColumnCount ()=0 |
| virtual bool | getRowValues (const uint32 &row, std::vector< VariantData > &values)=0 |
| virtual bool | getColumnValues (const uint32 &col, std::vector< VariantData > &values)=0 |
| virtual void | setFixedColumnsCount (const uint32 &count)=0 |
| virtual void | setFixedRowsCount (const uint32 &count)=0 |
| virtual uint32 | getFixedColumnsCount ()=0 |
| virtual uint32 | getFixedRowsCount ()=0 |
Public Attributes |
| VCF::Delegate | TableModelDelegate |
| | TableCellAdded |
| | TableCellDeleted |
| | TableRowsAdded |
| | TableRowsDeleted |
| | TableColumnsAdded |
| | TableColumnsDeleted |
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) |
Detailed Description
- Event Delegates for this class:
-
Constructor & Destructor Documentation
| virtual VCF::TableModel::~TableModel |
( |
|
) |
[inline, virtual] |
|
Member Function Documentation
| virtual void VCF::TableModel::addColumn |
( |
|
) |
[inline, virtual] |
|
| void VCF::TableModel::addColumns |
( |
const uint32 & |
count |
) |
[inline] |
|
| virtual void VCF::TableModel::addRow |
( |
|
) |
[inline, virtual] |
|
| void VCF::TableModel::addRows |
( |
const uint32 & |
count |
) |
[inline] |
|
| virtual bool VCF::TableModel::doAddColumns |
( |
const uint32 & |
count |
) |
[inline, protected, virtual] |
|
| virtual bool VCF::TableModel::doAddRows |
( |
const uint32 & |
count |
) |
[inline, protected, virtual] |
|
| virtual bool VCF::TableModel::doInsertColumn |
( |
const uint32 & |
afterColumn |
) |
[inline, protected, virtual] |
|
| virtual bool VCF::TableModel::doInsertRow |
( |
const uint32 & |
afterRow |
) |
[inline, protected, virtual] |
|
| virtual bool VCF::TableModel::doRemoveColumn |
( |
const uint32 & |
column |
) |
[inline, protected, virtual] |
|
| virtual bool VCF::TableModel::doRemoveRow |
( |
const uint32 & |
row |
) |
[inline, protected, virtual] |
|
| virtual bool VCF::TableModel::doSetValue |
( |
const uint32 & |
row, |
|
|
const uint32 & |
column, |
|
|
const VariantData & |
value |
|
) |
[inline, protected, virtual] |
|
| virtual uint32 VCF::TableModel::getColumnCount |
( |
|
) |
[pure virtual] |
|
| virtual bool VCF::TableModel::getColumnValues |
( |
const uint32 & |
col, |
|
|
std::vector< VariantData > & |
values |
|
) |
[pure virtual] |
|
| virtual uint32 VCF::TableModel::getFixedColumnsCount |
( |
|
) |
[pure virtual] |
|
| virtual uint32 VCF::TableModel::getFixedRowsCount |
( |
|
) |
[pure virtual] |
|
| virtual uint32 VCF::TableModel::getRowCount |
( |
|
) |
[pure virtual] |
|
| virtual bool VCF::TableModel::getRowValues |
( |
const uint32 & |
row, |
|
|
std::vector< VariantData > & |
values |
|
) |
[pure virtual] |
|
| virtual String VCF::TableModel::getValueAsString |
( |
const uint32 & |
row, |
|
|
const uint32 & |
column |
|
) |
[inline, virtual] |
|
| void VCF::TableModel::insertColumn |
( |
const uint32 & |
afterColumn |
) |
[inline] |
|
| void VCF::TableModel::insertRow |
( |
const uint32 & |
afterRow |
) |
[inline] |
|
| virtual bool VCF::TableModel::isCellEditable |
( |
const uint32 & |
row, |
|
|
const uint32 & |
column |
|
) |
[pure virtual] |
|
| virtual bool VCF::TableModel::isEmpty |
( |
|
) |
[inline, virtual] |
|
|
|
Returns whether or not the model has an data.
The default is true, since in it's abstract form the model doesn't (yet) have any data associated it. It is up to implementers to return something meaningful here.
Reimplemented from VCF::Model. |
| void VCF::TableModel::removeColumn |
( |
const uint32 & |
column |
) |
[inline] |
|
| void VCF::TableModel::removeRow |
( |
const uint32 & |
row |
) |
[inline] |
|
| virtual void VCF::TableModel::setFixedColumnsCount |
( |
const uint32 & |
count |
) |
[pure virtual] |
|
| virtual void VCF::TableModel::setFixedRowsCount |
( |
const uint32 & |
count |
) |
[pure virtual] |
|
| virtual void VCF::TableModel::setValueAsString |
( |
const uint32 & |
row, |
|
|
const uint32 & |
column, |
|
|
const String & |
value |
|
) |
[inline, virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file: