cocos2d-x  3.0-beta2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TableViewDelegate Class Referenceabstract

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

#include <CCTableView.h>

Inheritance diagram for TableViewDelegate:
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...
 
- Public Member Functions inherited from ScrollViewDelegate
virtual ~ScrollViewDelegate ()
virtual void scrollViewDidScroll (ScrollView *view)=0
virtual void scrollViewDidZoom (ScrollView *view)=0

Detailed Description

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

Member Function Documentation

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 tableCellTouched ( TableView table,
TableViewCell cell 
)
pure virtual

Delegate to respond touch event.

Parameters
tabletable contains the given cell
cellcell that is touched
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: