-------------------------------- -- @module MenuItemLabel -- @extend MenuItem -- @parent_module cc -------------------------------- -- Gets the color that will be used to disable the item. -- @function [parent=#MenuItemLabel] getDisabledColor -- @param self -- @return color3b_table#color3b_table ret (return value: color3b_table) -------------------------------- -- Sets a new string to the inner label. -- @function [parent=#MenuItemLabel] setString -- @param self -- @param #string label -- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel) -------------------------------- -- Sets the label that is rendered. -- @function [parent=#MenuItemLabel] setLabel -- @param self -- @param #cc.Node node -- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel) -------------------------------- -- Sets the color that will be used to disable the item. -- @function [parent=#MenuItemLabel] setDisabledColor -- @param self -- @param #color3b_table color -- @return MenuItemLabel#MenuItemLabel self (return value: cc.MenuItemLabel) -------------------------------- -- Gets the label that is rendered. -- @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) return nil