2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module ControlStepper
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Control
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] setMinusSprite
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] getMinusLabel
|
|
|
|
-- @param self
|
2014-03-25 13:50:20 +08:00
|
|
|
-- @return Label#Label ret (return value: cc.Label)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] setWraps
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] isContinuous
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] getMinusSprite
|
|
|
|
-- @param self
|
|
|
|
-- @return Sprite#Sprite ret (return value: cc.Sprite)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] updateLayoutUsingTouchLocation
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @param #cc.Vec2 vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] setValueWithSendingEvent
|
|
|
|
-- @param self
|
|
|
|
-- @param #double double
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] getPlusLabel
|
|
|
|
-- @param self
|
2014-03-25 13:50:20 +08:00
|
|
|
-- @return Label#Label ret (return value: cc.Label)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] stopAutorepeat
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] setMinimumValue
|
|
|
|
-- @param self
|
|
|
|
-- @param #double double
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] getPlusSprite
|
|
|
|
-- @param self
|
|
|
|
-- @return Sprite#Sprite ret (return value: cc.Sprite)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] setPlusSprite
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] setMinusLabel
|
|
|
|
-- @param self
|
2014-03-25 13:50:20 +08:00
|
|
|
-- @param #cc.Label label
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] setValue
|
|
|
|
-- @param self
|
|
|
|
-- @param #double double
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] setStepValue
|
|
|
|
-- @param self
|
|
|
|
-- @param #double double
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] setMaximumValue
|
|
|
|
-- @param self
|
|
|
|
-- @param #double double
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] update
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] startAutorepeat
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] initWithMinusSpriteAndPlusSprite
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] getValue
|
|
|
|
-- @param self
|
|
|
|
-- @return double#double ret (return value: double)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] setPlusLabel
|
|
|
|
-- @param self
|
2014-03-25 13:50:20 +08:00
|
|
|
-- @param #cc.Label label
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] create
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @param #cc.Sprite sprite
|
|
|
|
-- @return ControlStepper#ControlStepper ret (return value: cc.ControlStepper)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] onTouchMoved
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Touch touch
|
|
|
|
-- @param #cc.Event event
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] onTouchEnded
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Touch touch
|
|
|
|
-- @param #cc.Event event
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] onTouchBegan
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Touch touch
|
|
|
|
-- @param #cc.Event event
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#ControlStepper] ControlStepper
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|