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

187 lines
5.7 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module ControlStepper
-- @extend Control
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#ControlStepper] getMinusSprite
2014-03-10 14:04:58 +08:00
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#ControlStepper] setValue
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #double value
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#ControlStepper] setStepValue
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #double stepValue
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#ControlStepper] initWithMinusSpriteAndPlusSprite
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #cc.Sprite minusSprite
-- @param #cc.Sprite plusSprite
2014-03-10 14:04:58 +08:00
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Set the numeric value of the stepper. If send is true, the Control::EventType::VALUE_CHANGED is sent.
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] setValueWithSendingEvent
-- @param self
-- @param #double value
-- @param #bool send
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#ControlStepper] setMaximumValue
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #double maximumValue
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#ControlStepper] getMinusLabel
2014-03-10 14:04:58 +08:00
-- @param self
-- @return Label#Label ret (return value: cc.Label)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#ControlStepper] getPlusLabel
2014-03-10 14:04:58 +08:00
-- @param self
-- @return Label#Label ret (return value: cc.Label)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#ControlStepper] setWraps
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #bool wraps
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] setMinusLabel
-- @param self
-- @param #cc.Label var
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Start the autorepeat increment/decrement.
-- @function [parent=#ControlStepper] startAutorepeat
2014-03-10 14:04:58 +08:00
-- @param self
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Update the layout of the stepper with the given touch location.
-- @function [parent=#ControlStepper] updateLayoutUsingTouchLocation
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #vec2_table location
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#ControlStepper] isContinuous
2014-03-10 14:04:58 +08:00
-- @param self
-- @return bool#bool ret (return value: bool)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Stop the autorepeat.
-- @function [parent=#ControlStepper] stopAutorepeat
2014-03-10 14:04:58 +08:00
-- @param self
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#ControlStepper] setMinimumValue
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #double minimumValue
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#ControlStepper] setPlusLabel
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #cc.Label var
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] getValue
-- @param self
-- @return double#double ret (return value: double)
--------------------------------
--
-- @function [parent=#ControlStepper] getPlusSprite
2014-03-10 14:04:58 +08:00
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlStepper] setPlusSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] setMinusSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] create
-- @param self
-- @param #cc.Sprite minusSprite
-- @param #cc.Sprite plusSprite
2014-03-10 14:04:58 +08:00
-- @return ControlStepper#ControlStepper ret (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] onTouchMoved
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] onTouchEnded
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] update
-- @param self
-- @param #float dt
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] onTouchBegan
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
-- @return bool#bool ret (return value: bool)
2014-03-10 14:04:58 +08:00
--------------------------------
-- js ctor
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] ControlStepper
-- @param self
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
2014-03-10 14:04:58 +08:00
return nil