Cocos2d-x  v3.10
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
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

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

Delegate to respond touch event.

Parameters
tabletable contains the given cell
cellcell that is touched
virtual void tableCellHighlight ( TableView table,
TableViewCell cell 
)
inlinevirtual

Delegate to respond a table cell press event.

Parameters
tabletable contains the given cell
cellcell that is pressed
virtual void tableCellUnhighlight ( TableView table,
TableViewCell cell 
)
inlinevirtual

Delegate to respond a table cell release event.

Parameters
tabletable contains the given cell
cellcell that is pressed
virtual void tableCellWillRecycle ( TableView table,
TableViewCell cell 
)
inlinevirtual

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

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