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

66 lines
2.0 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module MenuItemLabel
-- @extend MenuItem
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- Gets the color that will be used to disable the item
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemLabel] getDisabledColor
-- @param self
-- @return color3b_table#color3b_table ret (return value: color3b_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- sets a new string to the inner label
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemLabel] setString
-- @param self
-- @param #string label
-- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Sets the label that is rendered.
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemLabel] setLabel
-- @param self
-- @param #cc.Node node
-- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Sets the color that will be used to disable the item
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemLabel] setDisabledColor
-- @param self
-- @param #color3b_table color
-- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Gets the label that is rendered.
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemLabel] getLabel
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#MenuItemLabel] setEnabled
-- @param self
-- @param #bool enabled
-- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel)
--------------------------------
--
-- @function [parent=#MenuItemLabel] activate
-- @param self
-- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel)
--------------------------------
--
-- @function [parent=#MenuItemLabel] unselected
-- @param self
-- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel)
--------------------------------
--
-- @function [parent=#MenuItemLabel] selected
-- @param self
-- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel)
2014-03-10 14:04:58 +08:00
return nil