-------------------------------- -- @module ListView -- @extend ScrollView -------------------------------- -- @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.ListViewGravity listviewgravity -------------------------------- -- @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] 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] 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] requestRefreshView -- @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) -------------------------------- -- @function [parent=#ListView] setDirection -- @param self -- @param #ccui.SCROLLVIEW_DIR scrollview_dir -------------------------------- -- @function [parent=#ListView] getDescription -- @param self -- @return string#string ret (return value: string) -------------------------------- -- @function [parent=#ListView] sortAllChildren -- @param self -------------------------------- -- @function [parent=#ListView] ListView -- @param self return nil