cocos2d-x  2.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCTableViewDelegate Class Referenceabstract

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

#include <CCTableView.h>

Inheritance diagram for CCTableViewDelegate:
CCScrollViewDelegate

Public Member Functions

virtual void tableCellTouched (CCTableView *table, CCTableViewCell *cell)=0
 @ @ More...
 
virtual void tableCellHighlight (CCTableView *table, CCTableViewCell *cell)
 Delegate to respond a table cell press event. More...
 
virtual void tableCellUnhighlight (CCTableView *table, CCTableViewCell *cell)
 Delegate to respond a table cell release event. More...
 
virtual void tableCellWillRecycle (CCTableView *table, CCTableViewCell *cell)
 Delegate called when the cell is about to be recycled. More...
 
- Public Member Functions inherited from CCScrollViewDelegate
virtual ~CCScrollViewDelegate ()
virtual void scrollViewDidScroll (CCScrollView *view)=0
virtual void scrollViewDidZoom (CCScrollView *view)=0

Detailed Description

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

Member Function Documentation

virtual void tableCellHighlight ( CCTableView table,
CCTableViewCell cell 
)
inlinevirtual

Delegate to respond a table cell press event.

Parameters
tabletable contains the given cell
cellcell that is pressed
virtual void tableCellTouched ( CCTableView table,
CCTableViewCell cell 
)
pure virtual

@ @

virtual void tableCellUnhighlight ( CCTableView table,
CCTableViewCell cell 
)
inlinevirtual

Delegate to respond a table cell release event.

Parameters
tabletable contains the given cell
cellcell that is pressed
virtual void tableCellWillRecycle ( CCTableView table,
CCTableViewCell 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: