2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module PageView
|
2014-03-26 14:03:04 +08:00
|
|
|
-- @extend Layout,UIScrollInterface
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] getCurPageIndex
|
|
|
|
-- @param self
|
|
|
|
-- @return long#long ret (return value: long)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] addWidgetToPage
|
|
|
|
-- @param self
|
|
|
|
-- @param #ccui.Widget widget
|
|
|
|
-- @param #long long
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] getPage
|
|
|
|
-- @param self
|
|
|
|
-- @param #long long
|
|
|
|
-- @return Layout#Layout ret (return value: ccui.Layout)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] removePage
|
|
|
|
-- @param self
|
|
|
|
-- @param #ccui.Layout layout
|
|
|
|
|
2014-05-12 16:14:14 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] addEventListener
|
|
|
|
-- @param self
|
|
|
|
-- @param #function func
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] insertPage
|
|
|
|
-- @param self
|
|
|
|
-- @param #ccui.Layout layout
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] scrollToPage
|
|
|
|
-- @param self
|
|
|
|
-- @param #long long
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] removePageAtIndex
|
|
|
|
-- @param self
|
|
|
|
-- @param #long long
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] getPages
|
|
|
|
-- @param self
|
|
|
|
-- @return array_table#array_table ret (return value: array_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] removeAllPages
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] addPage
|
|
|
|
-- @param self
|
|
|
|
-- @param #ccui.Layout layout
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] create
|
|
|
|
-- @param self
|
|
|
|
-- @return PageView#PageView ret (return value: ccui.PageView)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] createInstance
|
|
|
|
-- @param self
|
|
|
|
-- @return Ref#Ref ret (return value: cc.Ref)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] getLayoutType
|
|
|
|
-- @param self
|
2014-05-13 11:39:46 +08:00
|
|
|
-- @return Layout::Type#Layout::Type ret (return value: ccui.Layout::Type)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] getDescription
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] update
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] setLayoutType
|
|
|
|
-- @param self
|
2014-05-13 11:39:46 +08:00
|
|
|
-- @param #ccui.Layout::Type type
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PageView] PageView
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|