Interface ICastleTableViewDataSource

Unit

Declaration

type ICastleTableViewDataSource = interface(IInterface)

Description

Data source used in TCastleTableView. Implement this interface to populate data into the TableView.

Hierarchy

Overview

Methods

Public function TableViewNumberOfRows(Sender: TCastleTableView): Integer;
Public procedure TableViewUpdateCell(Cell: TCastleTableViewCell; Row: Integer; Sender: TCastleTableView);

Description

Methods

Public function TableViewNumberOfRows(Sender: TCastleTableView): Integer;

Return number of cells (rows).

Public 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.