Data source that governs table backend data.
Class CCTableViewDataSource
#include <Geode/cocos/extensions/GUI/CCScrollView/CCTableView.h>classCCTableViewDataSource{ ... }
Examples0
Public static methods0
Public member functions4
virtualcocos2d::CCSizetableCellSizeForIndex(,uintidx)
cell size for a given index
idx
the index of a cell to get a size
size of a cell at given index
virtualcocos2d::CCSizecellSizeForTable()
cell height for a given table.
table
table to hold the instances of Class
cell size
virtualcocos2d::extension::CCTableViewCell*tableCellAtIndex(,uintidx)=0
a cell instance at a given index
idx
index to search for a cell
cell found at idx
virtualuintnumberOfCellsInTableView()=0
Returns number of cells in a given table view.
number of cells