Data source that governs table backend data. More...
#include <CCTableView.h>
Public Member Functions | |
virtual | ~TableViewDataSource () |
virtual Size | tableCellSizeForIndex (TableView *table, ssize_t idx) |
cell size for a given index More... | |
virtual Size | cellSizeForTable (TableView *table) |
cell height for a given table. More... | |
virtual TableViewCell * | tableCellAtIndex (TableView *table, ssize_t idx)=0 |
a cell instance at a given index More... | |
virtual ssize_t | numberOfCellsInTableView (TableView *table)=0 |
Returns number of cells in a given table view. More... | |
Data source that governs table backend data.
|
inlinevirtual |
cell height for a given table.
table | table to hold the instances of Class |
Returns number of cells in a given table view.
|
pure virtual |
a cell instance at a given index
idx | index to search for a cell |
cell size for a given index
idx | the index of a cell to get a size |