Cocos2d-x  v3.15
TableViewDelegate Class Referenceabstract

Sole purpose of this delegate is to single touch event in this version. More...

Inherits ScrollViewDelegate.

Public Member Functions

virtual void tableCellTouched (TableView *table, TableViewCell *cell)=0
 Delegate to respond touch event. More...
 
virtual void tableCellHighlight (TableView *table, TableViewCell *cell)
 Delegate to respond a table cell press event. More...
 
virtual void tableCellUnhighlight (TableView *table, TableViewCell *cell)
 Delegate to respond a table cell release event. More...
 
virtual void tableCellWillRecycle (TableView *table, TableViewCell *cell)
 Delegate called when the cell is about to be recycled. More...
 

Detailed Description

Sole purpose of this delegate is to single touch event in this version.

Member Function Documentation

◆ tableCellTouched()

virtual void tableCellTouched ( TableView table,
TableViewCell cell 
)
pure virtual

Delegate to respond touch event.

Parameters
tabletable contains the given cell
cellcell that is touched NA NA

◆ tableCellHighlight()

virtual void tableCellHighlight ( TableView table,
TableViewCell cell 
)
virtual

Delegate to respond a table cell press event.

Parameters
tabletable contains the given cell
cellcell that is pressed NA NA

◆ tableCellUnhighlight()

virtual void tableCellUnhighlight ( TableView table,
TableViewCell cell 
)
virtual

Delegate to respond a table cell release event.

Parameters
tabletable contains the given cell
cellcell that is pressed NA NA

◆ tableCellWillRecycle()

virtual void tableCellWillRecycle ( TableView table,
TableViewCell cell 
)
virtual

Delegate called when the cell is about to be recycled.

Immediately after this call the cell will be removed from the scene graph and recycled.

Parameters
tabletable contains the given cell
cellcell that is pressed NA NA

The documentation for this class was generated from the following file: