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

170 lines
4.3 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
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] setMinusSprite
-- @param self
-- @param #cc.Sprite var
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] getMinusLabel
-- @param self
-- @return Label#Label ret (return value: cc.Label)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] setWraps
-- @param self
-- @param #bool wraps
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] isContinuous
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] getMinusSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
-- Update the layout of the stepper with the given touch location.
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] updateLayoutUsingTouchLocation
-- @param self
-- @param #vec2_table location
2014-03-10 14:04:58 +08:00
--------------------------------
-- 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
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] getPlusLabel
-- @param self
-- @return Label#Label ret (return value: cc.Label)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Stop the autorepeat.
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] stopAutorepeat
-- @param self
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] setMinimumValue
-- @param self
-- @param #double minimumValue
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] getPlusSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] setPlusSprite
-- @param self
-- @param #cc.Sprite var
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
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] setValue
-- @param self
-- @param #double value
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] setStepValue
-- @param self
-- @param #double stepValue
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] setMaximumValue
-- @param self
-- @param #double maximumValue
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] update
-- @param self
-- @param #float dt
2014-03-10 14:04:58 +08:00
--------------------------------
-- Start the autorepeat increment/decrement.
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] startAutorepeat
-- @param self
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] initWithMinusSpriteAndPlusSprite
-- @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)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] getValue
-- @param self
-- @return double#double ret (return value: double)
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#ControlStepper] setPlusLabel
-- @param self
-- @param #cc.Label var
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
--------------------------------
--
-- @function [parent=#ControlStepper] onTouchEnded
-- @param self
-- @param #cc.Touch pTouch
-- @param #cc.Event pEvent
--------------------------------
--
-- @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 nil