Stimfit
0.13.15
|
Adapts stf::Table to be used by wxStfGrid. More...
#include <table.h>
Public Member Functions | |
wxStfTable (const stf::Table &table_) | |
Constructor. | |
virtual int | GetNumberRows () |
Get the number of rows. | |
virtual int | GetNumberCols () |
Get the number of columns. | |
virtual bool | IsEmptyCell (int row, int col) |
Check whether a cell is empty. | |
virtual wxString | GetValue (int row, int col) |
Retrieve a cell entry. | |
virtual void | SetValue (int row, int col, const wxString &value) |
Set a cell entry. | |
wxString | GetSelection (const wxGridCellCoordsArray &selection) |
Retrieve values from selected cells. |
Adapts stf::Table to be used by wxStfGrid.
wxStfTable::wxStfTable | ( | const stf::Table & | table_ | ) | [inline] |
virtual int wxStfTable::GetNumberCols | ( | ) | [inline, virtual] |
Get the number of columns.
Definition at line 46 of file table.h.
References stf::Table::nCols().
virtual int wxStfTable::GetNumberRows | ( | ) | [inline, virtual] |
Get the number of rows.
Definition at line 41 of file table.h.
References stf::Table::nRows().
wxString wxStfTable::GetSelection | ( | const wxGridCellCoordsArray & | selection | ) |
Retrieve values from selected cells.
selection | The selected cells. |
virtual wxString wxStfTable::GetValue | ( | int | row, |
int | col | ||
) | [virtual] |
Retrieve a cell entry.
row | The row number of the cell. |
col | The column number of the cell. |
virtual bool wxStfTable::IsEmptyCell | ( | int | row, |
int | col | ||
) | [virtual] |
Check whether a cell is empty.
row | The row number of the cell. |
col | The column number of the cell. |
virtual void wxStfTable::SetValue | ( | int | row, |
int | col, | ||
const wxString & | value | ||
) | [virtual] |
Set a cell entry.
row | The row number of the cell. |
col | The column number of the cell. |
value | The new cell entry. |