wxGridTableBaseGrid table classes. Derived from Include files <wx/grid.h> Members
wxGridTableBase::wxGridTableBase
wxGridTableBase::wxGridTableBasewxGridTableBase()
wxGridTableBase::~wxGridTableBase~wxGridTableBase()
wxGridTableBase::GetNumberRowsint GetNumberRows() You must override these functions in a derived table class.
wxGridTableBase::GetNumberColsint GetNumberCols()
wxGridTableBase::IsEmptyCellbool IsEmptyCell(int row, int col)
wxGridTableBase::GetValuewxString GetValue(int row, int col)
wxGridTableBase::SetValuevoid SetValue(int row, int col, const wxString& value)
wxGridTableBase::GetTypeNamewxString GetTypeName(int row, int col) Data type determination and value access.
wxGridTableBase::CanGetValueAsbool CanGetValueAs(int row, int col, const wxString& typeName)
wxGridTableBase::CanSetValueAsbool CanSetValueAs(int row, int col, const wxString& typeName)
wxGridTableBase::GetValueAsLonglong GetValueAsLong(int row, int col)
wxGridTableBase::GetValueAsDoubledouble GetValueAsDouble(int row, int col)
wxGridTableBase::GetValueAsBoolbool GetValueAsBool(int row, int col)
wxGridTableBase::SetValueAsLongvoid SetValueAsLong(int row, int col, long value)
wxGridTableBase::SetValueAsDoublevoid SetValueAsDouble(int row, int col, double value)
wxGridTableBase::SetValueAsBoolvoid SetValueAsBool(int row, int col, bool value)
wxGridTableBase::GetValueAsCustomvoid* GetValueAsCustom(int row, int col, const wxString& typeName) For user defined types
wxGridTableBase::SetValueAsCustomvoid SetValueAsCustom(int row, int col, const wxString& typeName, void* value)
wxGridTableBase::SetViewvoid SetView(wxGrid* grid) Overriding these is optional
wxGridTableBase::GetViewwxGrid * GetView() const
wxGridTableBase::Clearvoid Clear()
wxGridTableBase::InsertRowsbool InsertRows(size_t pos = 0, size_t numRows = 1)
wxGridTableBase::AppendRowsbool AppendRows(size_t numRows = 1)
wxGridTableBase::DeleteRowsbool DeleteRows(size_t pos = 0, size_t numRows = 1)
wxGridTableBase::InsertColsbool InsertCols(size_t pos = 0, size_t numCols = 1)
wxGridTableBase::AppendColsbool AppendCols(size_t numCols = 1)
wxGridTableBase::DeleteColsbool DeleteCols(size_t pos = 0, size_t numCols = 1)
wxGridTableBase::GetRowLabelValuewxString GetRowLabelValue(int row)
wxGridTableBase::GetColLabelValuewxString GetColLabelValue(int col)
wxGridTableBase::SetRowLabelValuevoid SetRowLabelValue(int WXUNUSED(row), const wxString&)
wxGridTableBase::SetColLabelValuevoid SetColLabelValue(int WXUNUSED(col), const wxString&)
wxGridTableBase::SetAttrProvidervoid SetAttrProvider(wxGridCellAttrProvider* attrProvider) Attribute handling give us the attr provider to use - we take ownership of the pointer
wxGridTableBase::GetAttrProviderwxGridCellAttrProvider* GetAttrProvider() const get the currently used attr provider (may be NULL)
wxGridTableBase::CanHaveAttributesbool CanHaveAttributes() Does this table allow attributes? Default implementation creates a wxGridCellAttrProvider if necessary.
wxGridTableBase::UpdateAttrRowsvoid UpdateAttrRows(size_t pos, int numRows) change row/col number in attribute if needed
wxGridTableBase::UpdateAttrColsvoid UpdateAttrCols(size_t pos, int numCols)
wxGridTableBase::GetAttrwxGridCellAttr* GetAttr(int row, int col) by default forwarded to wxGridCellAttrProvider if any. May be overridden to handle attributes directly in the table.
wxGridTableBase::SetAttrvoid SetAttr(wxGridCellAttr* attr, int row, int col) these functions take ownership of the pointer
wxGridTableBase::SetRowAttrvoid SetRowAttr(wxGridCellAttr* attr, int row)
wxGridTableBase::SetColAttrvoid SetColAttr(wxGridCellAttr* attr, int col)
|