TTableModel
Interface between tabular data and a table viewer.
Inheritance
Level | Ancestor | Description |
---|---|---|
1 | TObject | Ultimate ancestor in a class hierarchy |
2 | TBaseObject | A base class for objects that can be used instead of TObject . |
3 | TReferenceCountedObject | Object that keeps track of the number of times it is referenced from other objects |
4 | TTableModel |
Source
Table.Model.pas (58)
Description
Tabular data consists of three major components: rows, columns and cells. Rows represent the vertical dimension, columns
represent the horizontal dimension and cells represent the actual values for every combination of row and column. A descendant
should at least implement GetRowModel
, GetColumnModel
and GetCells
. Both
dimensions are treated equally which means you can create tables with both a large dynamic amount of columns and
and a large dynamic amount of rows which makes a TTableModel
suitable for representing matrices as well as
relational data.
Fields
Scope | Visibility | Type | Name | Description |
---|---|---|---|---|
Instance | private | TValuePath | FPath | |
Instance | protected | TListeners | FListeners | |
Instance | protected | TEventGate | FEventGate |