cocos2d-x  2.2.3-gd2.113-rev1ec524e
Loading...
Searching...
No Matches
CCTableViewDelegate Class Referenceabstract

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

#include <CCTableView.h>

Inheritance diagram for CCTableViewDelegate:
[legend]
Collaboration diagram for CCTableViewDelegate:
[legend]

Public Member Functions

virtual void tableCellTouched (CCTableView *table, CCTableViewCell *cell)=0
 Delegate to respond touch event. 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.

NA NA

Member Function Documentation

◆ tableCellHighlight()

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

◆ tableCellTouched()

virtual void tableCellTouched ( CCTableView table,
CCTableViewCell cell 
)
pure virtual

Delegate to respond touch event.

Parameters
tabletable contains the given cell
cellcell that is touched

◆ tableCellUnhighlight()

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

◆ tableCellWillRecycle()

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: