2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module EditBox
|
2014-03-26 14:03:04 +08:00
|
|
|
-- @extend ControlButton,IMEDelegate
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] getText
|
|
|
|
-- @param self
|
|
|
|
-- @return char#char ret (return value: char)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setPlaceholderFontName
|
|
|
|
-- @param self
|
|
|
|
-- @param #char char
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] getPlaceHolder
|
|
|
|
-- @param self
|
|
|
|
-- @return char#char ret (return value: char)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setFontName
|
|
|
|
-- @param self
|
|
|
|
-- @param #char char
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setPlaceholderFontSize
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setInputMode
|
|
|
|
-- @param self
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @param #int inputmode
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setPlaceholderFontColor
|
|
|
|
-- @param self
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @param #color3b_table color3b
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setFontColor
|
|
|
|
-- @param self
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @param #color3b_table color3b
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setPlaceholderFont
|
|
|
|
-- @param self
|
|
|
|
-- @param #char char
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setFontSize
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] initWithSizeAndBackgroundSprite
|
|
|
|
-- @param self
|
|
|
|
-- @param #size_table size
|
|
|
|
-- @param #cc.Scale9Sprite scale9sprite
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setPlaceHolder
|
|
|
|
-- @param self
|
|
|
|
-- @param #char char
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setReturnType
|
|
|
|
-- @param self
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @param #int keyboardreturntype
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setInputFlag
|
|
|
|
-- @param self
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @param #int inputflag
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] getMaxLength
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setText
|
|
|
|
-- @param self
|
|
|
|
-- @param #char char
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setMaxLength
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setFont
|
|
|
|
-- @param self
|
|
|
|
-- @param #char char
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] create
|
|
|
|
-- @param self
|
|
|
|
-- @param #size_table size
|
|
|
|
-- @param #cc.Scale9Sprite scale9sprite
|
|
|
|
-- @param #cc.Scale9Sprite scale9sprite
|
|
|
|
-- @param #cc.Scale9Sprite scale9sprite
|
|
|
|
-- @return EditBox#EditBox ret (return value: cc.EditBox)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setAnchorPoint
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #vec2_table vec2
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setPosition
|
|
|
|
-- @param self
|
2014-05-27 14:31:18 +08:00
|
|
|
-- @param #vec2_table vec2
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setVisible
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] setContentSize
|
|
|
|
-- @param self
|
|
|
|
-- @param #size_table size
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#EditBox] EditBox
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|