axmol/cocos/scripting/lua-bindings/auto/api/Button.lua

165 lines
4.6 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module Button
-- @extend Widget
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Button] getTitleText
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#Button] setTitleFontSize
-- @param self
-- @param #float float
--------------------------------
-- @function [parent=#Button] setScale9Enabled
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#Button] getCapInsetsDisabledRenderer
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- @function [parent=#Button] setTitleColor
-- @param self
-- @param #color3B_table color3b
--------------------------------
-- @function [parent=#Button] setCapInsetsDisabledRenderer
-- @param self
-- @param #rect_table rect
--------------------------------
-- @function [parent=#Button] setCapInsets
-- @param self
-- @param #rect_table rect
--------------------------------
-- @function [parent=#Button] loadTextureDisabled
-- @param self
-- @param #string str
2014-03-10 14:04:58 +08:00
-- @param #ccui.TextureResType texturerestype
--------------------------------
-- @function [parent=#Button] setTitleText
-- @param self
-- @param #string str
--------------------------------
-- @function [parent=#Button] setCapInsetsNormalRenderer
-- @param self
-- @param #rect_table rect
--------------------------------
-- @function [parent=#Button] loadTexturePressed
-- @param self
-- @param #string str
2014-03-10 14:04:58 +08:00
-- @param #ccui.TextureResType texturerestype
--------------------------------
-- @function [parent=#Button] setTitleFontName
-- @param self
-- @param #string str
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Button] getCapInsetsNormalRenderer
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- @function [parent=#Button] getCapInsetsPressedRenderer
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- @function [parent=#Button] loadTextures
-- @param self
-- @param #string str
-- @param #string str
-- @param #string str
2014-03-10 14:04:58 +08:00
-- @param #ccui.TextureResType texturerestype
--------------------------------
-- @function [parent=#Button] isScale9Enabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#Button] loadTextureNormal
-- @param self
-- @param #string str
2014-03-10 14:04:58 +08:00
-- @param #ccui.TextureResType texturerestype
--------------------------------
-- @function [parent=#Button] setCapInsetsPressedRenderer
-- @param self
-- @param #rect_table rect
--------------------------------
-- @function [parent=#Button] getTitleFontSize
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#Button] getTitleFontName
-- @param self
-- @return string#string ret (return value: string)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Button] getTitleColor
-- @param self
-- @return color3B_table#color3B_table ret (return value: color3B_table)
--------------------------------
-- @function [parent=#Button] setPressedActionEnabled
-- @param self
-- @param #bool bool
--------------------------------
-- overload function: create(string, string, string, ccui.TextureResType)
--
-- overload function: create()
--
-- @function [parent=#Button] create
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #string str
-- @param #string str
-- @param #string str
-- @param #ccui.TextureResType texturerestype
-- @return Button#Button ret (retunr value: ccui.Button)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Button] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
-- @function [parent=#Button] getVirtualRenderer
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
-- @function [parent=#Button] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#Button] getVirtualRendererSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- @function [parent=#Button] ignoreContentAdaptWithSize
-- @param self
-- @param #bool bool
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#Button] Button
-- @param self
return nil