Class CCTableViewDataSource

#include <Geode/cocos/extensions/GUI/CCScrollView/CCTableView.h>
classCCTableViewDataSource{ ... }

Data source that governs table backend data.

Examples0
Public static methods0
Public member functions4
virtualcocos2d::CCSizetableCellSizeForIndex(,
uintidx
)

cell size for a given index

Parameters

idx

the index of a cell to get a size
Return value
size of a cell at given index
virtualcocos2d::CCSizecellSizeForTable()

cell height for a given table.

Parameters

table

table to hold the instances of Class
Return value
cell size
virtualcocos2d::extension::CCTableViewCell*tableCellAtIndex(,
uintidx
)
=0

a cell instance at a given index

Parameters

idx

index to search for a cell
Return value
cell found at idx
virtualuintnumberOfCellsInTableView()=0

Returns number of cells in a given table view.

Return value
number of cells
Fields0
Protected member functions0
Protected fields0
Derived classes0