-------------------------------- -- @module TabHeader -- @extend AbstractCheckButton -- @parent_module ccui -------------------------------- -- get the index this header in the TabControl
-- return -1 means not in any TabControl -- @function [parent=#TabHeader] getIndexInTabControl -- @param self -- @return int#int ret (return value: int) -------------------------------- -- get the TabHeader text
-- return he TabHeader text -- @function [parent=#TabHeader] getTitleText -- @param self -- @return string#string ret (return value: string) -------------------------------- -- Change the font size of TabHeader text
-- param size TabHeader text's font size in float. -- @function [parent=#TabHeader] setTitleFontSize -- @param self -- @param #float size -- @return TabHeader#TabHeader self (return value: ccui.TabHeader) -------------------------------- -- Change the font name of TabHeader text
-- param fontName a font name string. -- @function [parent=#TabHeader] setTitleFontName -- @param self -- @param #string fontName -- @return TabHeader#TabHeader self (return value: ccui.TabHeader) -------------------------------- -- get the font size of TabHeader text
-- return TabHeader text's font size in float. -- @function [parent=#TabHeader] getTitleFontSize -- @param self -- @return float#float ret (return value: float) -------------------------------- -- get the font name of TabHeader text
-- return font name in std::string -- @function [parent=#TabHeader] getTitleFontName -- @param self -- @return string#string ret (return value: string) -------------------------------- -- get the TabHeader text color.
-- return Color4B of TabHeader text. -- @function [parent=#TabHeader] getTitleColor -- @param self -- @return color4b_table#color4b_table ret (return value: color4b_table) -------------------------------- -- Return the inner Label renderer of TabHeader.
-- return The TabHeader Label. -- @function [parent=#TabHeader] getTitleRenderer -- @param self -- @return Label#Label ret (return value: cc.Label) -------------------------------- -- Change the content of Header's text.
-- param text The Header's text. -- @function [parent=#TabHeader] setTitleText -- @param self -- @param #string text -- @return TabHeader#TabHeader self (return value: ccui.TabHeader) -------------------------------- -- Change the color of he TabHeader text
-- param color The he TabHeader text's color in Color4B. -- @function [parent=#TabHeader] setTitleColor -- @param self -- @param #color4b_table color -- @return TabHeader#TabHeader self (return value: ccui.TabHeader) -------------------------------- -- @overload self, string, string, string, int -- @overload self -- @overload self, string, string, string, string, string, string, int -- @function [parent=#TabHeader] create -- @param self -- @param #string titleStr -- @param #string backGround -- @param #string backGroundSelected -- @param #string cross -- @param #string backGroundDisabled -- @param #string frontCrossDisabled -- @param #int texType -- @return TabHeader#TabHeader ret (return value: ccui.TabHeader) return nil