Interface ICastleTableViewDataSource
Unit
Declaration
type ICastleTableViewDataSource = interface(IInterface)
Description
Data source used in TCastleTableView. Implement this interface to populate data into the TableView.
Hierarchy
- IInterface
- ICastleTableViewDataSource
Overview
Methods
function TableViewNumberOfRows(Sender: TCastleTableView): Integer; |
|
procedure TableViewUpdateCell(Cell: TCastleTableViewCell; Row: Integer; Sender: TCastleTableView); |
Description
Methods
function TableViewNumberOfRows(Sender: TCastleTableView): Integer; |
|
Return number of cells (rows). |
procedure TableViewUpdateCell(Cell: TCastleTableViewCell; Row: Integer; Sender: TCastleTableView); |
|
Called when TableView needs the contents for the cell. TableView manages its cells automatically. For example set Cell.TextLabel.Caption to define the text displayed in the cell. |
Generated by PasDoc 0.16.0.