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

154 lines
4.1 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module ListView
-- @extend ScrollView
-- @parent_module ccui
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#ListView] getIndex
-- @param self
-- @param #ccui.Widget widget
-- @return long#long ret (return value: long)
--------------------------------
-- @function [parent=#ListView] removeAllItems
-- @param self
--------------------------------
-- @function [parent=#ListView] setGravity
-- @param self
-- @param #ccui.ListView::Gravity gravity
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#ListView] pushBackCustomItem
-- @param self
-- @param #ccui.Widget widget
--------------------------------
-- @function [parent=#ListView] getItems
-- @param self
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#ListView] removeItem
-- @param self
-- @param #long long
--------------------------------
-- @function [parent=#ListView] getCurSelectedIndex
-- @param self
-- @return long#long ret (return value: long)
--------------------------------
-- @function [parent=#ListView] insertDefaultItem
-- @param self
-- @param #long long
--------------------------------
-- @function [parent=#ListView] requestRefreshView
-- @param self
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#ListView] setItemsMargin
-- @param self
-- @param #float float
--------------------------------
-- @function [parent=#ListView] refreshView
-- @param self
--------------------------------
-- @function [parent=#ListView] removeLastItem
-- @param self
--------------------------------
-- @function [parent=#ListView] getItemsMargin
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#ListView] addEventListener
-- @param self
-- @param #function func
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#ListView] getItem
-- @param self
-- @param #long long
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
-- @function [parent=#ListView] setItemModel
-- @param self
-- @param #ccui.Widget widget
--------------------------------
-- @function [parent=#ListView] doLayout
2014-03-10 14:04:58 +08:00
-- @param self
--------------------------------
-- @function [parent=#ListView] pushBackDefaultItem
-- @param self
--------------------------------
-- @function [parent=#ListView] insertCustomItem
-- @param self
-- @param #ccui.Widget widget
-- @param #long long
--------------------------------
-- @function [parent=#ListView] create
-- @param self
-- @return ListView#ListView ret (return value: ccui.ListView)
--------------------------------
-- @function [parent=#ListView] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
-- overload function: addChild(cc.Node, int)
--
-- overload function: addChild(cc.Node)
--
-- overload function: addChild(cc.Node, int, int)
--
-- overload function: addChild(cc.Node, int, string)
--
-- @function [parent=#ListView] addChild
-- @param self
-- @param #cc.Node node
-- @param #int int
-- @param #string str
--------------------------------
-- @function [parent=#ListView] setDirection
-- @param self
-- @param #ccui.ScrollView::Direction direction
--------------------------------
-- @function [parent=#ListView] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#ListView] removeAllChildrenWithCleanup
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#ListView] removeAllChildren
-- @param self
--------------------------------
-- @function [parent=#ListView] removeChild
-- @param self
-- @param #cc.Node node
-- @param #bool bool
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#ListView] ListView
-- @param self
return nil