--------------------------------
-- @module PageView
-- @extend ListView
-- @parent_module ccui
--------------------------------
-- brief Set space between page indicator's index nodes.
-- param spaceBetweenIndexNodes Space between nodes in pixel.
-- @function [parent=#PageView] setIndicatorSpaceBetweenIndexNodes
-- @param self
-- @param #float spaceBetweenIndexNodes
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- Insert a page into PageView at a given index.
-- param page Page to be inserted.
-- param idx A given index.
-- @function [parent=#PageView] insertPage
-- @param self
-- @param #ccui.Widget page
-- @param #int idx
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Set opacity of page indicator's index nodes.
-- param opacity New indicator node opacity.
-- @function [parent=#PageView] setIndicatorIndexNodesOpacity
-- @param self
-- @param #unsigned char opacity
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Set opacity of page indicator's selected index.
-- param color New opacity for selected (current) index.
-- @function [parent=#PageView] setIndicatorSelectedIndexOpacity
-- @param self
-- @param #unsigned char opacity
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Remove all pages of the PageView.
-- @function [parent=#PageView] removeAllPages
-- @param self
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
--
-- @function [parent=#PageView] setAutoScrollStopEpsilon
-- @param self
-- @param #float epsilon
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Set scale of page indicator's index nodes.
-- param indexNodesScale Scale of index nodes.
-- @function [parent=#PageView] setIndicatorIndexNodesScale
-- @param self
-- @param #float indexNodesScale
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Toggle page indicator enabled.
-- param enabled True if enable page indicator, false otherwise.
-- @function [parent=#PageView] setIndicatorEnabled
-- @param self
-- @param #bool enabled
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Set color of page indicator's selected index.
-- param color New color for selected (current) index.
-- @function [parent=#PageView] setIndicatorSelectedIndexColor
-- @param self
-- @param #color3b_table color
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Add a page turn callback to PageView, then when one page is turning, the callback will be called.
-- param callback A page turning callback.
-- @function [parent=#PageView] addEventListener
-- @param self
-- @param #function callback
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Get the page indicator's position.
-- return positionAsAnchorPoint
-- @function [parent=#PageView] getIndicatorPosition
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
-- Jump to a page with a given index without scrolling.
-- This is the different between scrollToPage.
-- param index A given index in PageView. Index start from 0 to pageCount -1.
-- @function [parent=#PageView] setCurrentPageIndex
-- @param self
-- @param #int index
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Get the color of page indicator's index nodes.
-- return color
-- @function [parent=#PageView] getIndicatorIndexNodesColor
-- @param self
-- @return color3b_table#color3b_table ret (return value: color3b_table)
--------------------------------
-- brief Get the color of page indicator's selected index.
-- return color
-- @function [parent=#PageView] getIndicatorSelectedIndexColor
-- @param self
-- @return color3b_table#color3b_table ret (return value: color3b_table)
--------------------------------
-- brief Get scale of page indicator's index nodes.
-- return indexNodesScale
-- @function [parent=#PageView] getIndicatorIndexNodesScale
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- brief Set the page indicator's position in page view.
-- param position The position in page view
-- @function [parent=#PageView] setIndicatorPosition
-- @param self
-- @param #vec2_table position
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Get the opacity of page indicator's selected index.
-- return opacity
-- @function [parent=#PageView] getIndicatorSelectedIndexOpacity
-- @param self
-- @return unsigned char#unsigned char ret (return value: unsigned char)
--------------------------------
-- @overload self, int, float
-- @overload self, int
-- @function [parent=#PageView] scrollToPage
-- @param self
-- @param #int idx
-- @param #float time
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Set the page indicator's position using anchor point.
-- param positionAsAnchorPoint The position as anchor point.
-- @function [parent=#PageView] setIndicatorPositionAsAnchorPoint
-- @param self
-- @param #vec2_table positionAsAnchorPoint
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- @overload self, int, float
-- @overload self, int
-- @function [parent=#PageView] scrollToItem
-- @param self
-- @param #int idx
-- @param #float time
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Set color of page indicator's index nodes.
-- param color New indicator node color.
-- @function [parent=#PageView] setIndicatorIndexNodesColor
-- @param self
-- @param #color3b_table color
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Get the opacity of page indicator's index nodes.
-- return opacity
-- @function [parent=#PageView] getIndicatorIndexNodesOpacity
-- @param self
-- @return unsigned char#unsigned char ret (return value: unsigned char)
--------------------------------
-- brief Get the page indicator's position as anchor point.
-- return positionAsAnchorPoint
-- @function [parent=#PageView] getIndicatorPositionAsAnchorPoint
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
-- Gets current displayed page index.
-- return current page index.
-- @function [parent=#PageView] getCurrentPageIndex
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- Remove a page of PageView.
-- param page Page to be removed.
-- @function [parent=#PageView] removePage
-- @param self
-- @param #ccui.Widget page
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- sets texture for index nodes.
-- param fileName File name of texture.
-- param resType @see TextureResType .
-- @function [parent=#PageView] setIndicatorIndexNodesTexture
-- @param self
-- @param #string texName
-- @param #int texType
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Query page indicator state.
-- return True if page indicator is enabled, false otherwise.
-- @function [parent=#PageView] getIndicatorEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Remove a page at a given index of PageView.
-- param index A given index.
-- @function [parent=#PageView] removePageAtIndex
-- @param self
-- @param #int index
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- brief Get the space between page indicator's index nodes.
-- return spaceBetweenIndexNodes
-- @function [parent=#PageView] getIndicatorSpaceBetweenIndexNodes
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Insert a page into the end of PageView.
-- param page Page to be inserted.
-- @function [parent=#PageView] addPage
-- @param self
-- @param #ccui.Widget page
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- Create an empty PageView.
-- return A PageView instance.
-- @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)
--------------------------------
--
-- @function [parent=#PageView] doLayout
-- @param self
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
--
-- @function [parent=#PageView] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#PageView] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- Changes direction
-- Direction Direction::VERTICAL means vertical scroll, Direction::HORIZONTAL means horizontal scroll.
-- param direction Set the page view's scroll direction.
-- @function [parent=#PageView] setDirection
-- @param self
-- @param #int direction
-- @return PageView#PageView self (return value: ccui.PageView)
--------------------------------
-- Default constructor
-- js ctor
-- lua new
-- @function [parent=#PageView] PageView
-- @param self
-- @return PageView#PageView self (return value: ccui.PageView)
return nil