---@class ccui.TabHeader :ccui.AbstractCheckButton
local TabHeader={ }
ccui.TabHeader=TabHeader
---* get the index this header in the TabControl
---* return -1 means not in any TabControl
---@return int
function TabHeader:getIndexInTabControl () end
---* get the TabHeader text
---* return he TabHeader text
---@return string
function TabHeader:getTitleText () end
---* Change the font size of TabHeader text
---* param size TabHeader text's font size in float.
---@param size float
---@return self
function TabHeader:setTitleFontSize (size) end
---* Change the font name of TabHeader text
---* param fontName a font name string.
---@param fontName string
---@return self
function TabHeader:setTitleFontName (fontName) end
---* get the font size of TabHeader text
---* return TabHeader text's font size in float.
---@return float
function TabHeader:getTitleFontSize () end
---* get the font name of TabHeader text
---* return font name in std::string
---@return string
function TabHeader:getTitleFontName () end
---* get the TabHeader text color.
---* return Color4B of TabHeader text.
---@return color4b_table
function TabHeader:getTitleColor () end
---* Return the inner Label renderer of TabHeader.
---* return The TabHeader Label.
---@return cc.Label
function TabHeader:getTitleRenderer () end
---* Change the content of Header's text.
---* param text The Header's text.
---@param text string
---@return self
function TabHeader:setTitleText (text) end
---* Change the color of he TabHeader text
---* param color The he TabHeader text's color in Color4B.
---@param color color4b_table
---@return self
function TabHeader:setTitleColor (color) end
---@overload fun(string:string,string:string,string:string,string3:int):self
---@overload fun():self
---@overload fun(string:string,string:string,string:string,string:string,string:string,string:string,int:int):self
---@param titleStr string
---@param backGround string
---@param backGroundSelected string
---@param cross string
---@param backGroundDisabled string
---@param frontCrossDisabled string
---@param texType int
---@return self
function TabHeader:create (titleStr,backGround,backGroundSelected,cross,backGroundDisabled,frontCrossDisabled,texType) end