axmol/cocos/scripting/lua-bindings/auto/api/TableView.lua

121 lines
3.2 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module TableView
-- @extend ScrollView,ScrollViewDelegate
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- Updates the content of the cell at a given index.<br>
-- param idx index to find a cell
2014-03-10 14:04:58 +08:00
-- @function [parent=#TableView] updateCellAtIndex
-- @param self
-- @param #long idx
2014-03-10 14:04:58 +08:00
--------------------------------
-- determines how cell is ordered and filled in the view.
2014-03-10 14:04:58 +08:00
-- @function [parent=#TableView] setVerticalFillOrder
-- @param self
-- @param #int order
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#TableView] scrollViewDidZoom
-- @param self
-- @param #cc.ScrollView view
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#TableView] _updateContentSize
-- @param self
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#TableView] getVerticalFillOrder
-- @param self
-- @return int#int ret (return value: int)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Removes a cell at a given index<br>
-- param idx index to find a cell
2014-03-10 14:04:58 +08:00
-- @function [parent=#TableView] removeCellAtIndex
-- @param self
-- @param #long idx
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#TableView] initWithViewSize
-- @param self
-- @param #size_table size
-- @param #cc.Node container
2014-03-10 14:04:58 +08:00
-- @return bool#bool ret (return value: bool)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#TableView] scrollViewDidScroll
-- @param self
-- @param #cc.ScrollView view
2014-03-10 14:04:58 +08:00
--------------------------------
-- reloads data from data source. the view will be refreshed.
2014-03-10 14:04:58 +08:00
-- @function [parent=#TableView] reloadData
-- @param self
--------------------------------
-- Inserts a new cell at a given index<br>
-- param idx location to insert
2014-03-10 14:04:58 +08:00
-- @function [parent=#TableView] insertCellAtIndex
-- @param self
-- @param #long idx
2014-03-10 14:04:58 +08:00
--------------------------------
-- Returns an existing cell at a given index. Returns nil if a cell is nonexistent at the moment of query.<br>
-- param idx index<br>
-- return a cell at a given index
2014-03-10 14:04:58 +08:00
-- @function [parent=#TableView] cellAtIndex
-- @param self
-- @param #long idx
2014-03-10 14:04:58 +08:00
-- @return TableViewCell#TableViewCell ret (return value: cc.TableViewCell)
--------------------------------
-- Dequeues a free cell if available. nil if not.<br>
-- return free cell
2014-03-10 14:04:58 +08:00
-- @function [parent=#TableView] dequeueCell
-- @param self
-- @return TableViewCell#TableViewCell ret (return value: cc.TableViewCell)
--------------------------------
--
-- @function [parent=#TableView] onTouchMoved
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
--------------------------------
--
-- @function [parent=#TableView] onTouchEnded
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
--------------------------------
--
-- @function [parent=#TableView] onTouchCancelled
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
--------------------------------
--
-- @function [parent=#TableView] onTouchBegan
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
-- @return bool#bool ret (return value: bool)
2014-03-10 14:04:58 +08:00
--------------------------------
-- js ctor
2014-03-10 14:04:58 +08:00
-- @function [parent=#TableView] TableView
-- @param self
return nil