mirror of https://github.com/axmolengine/axmol.git
135 lines
3.5 KiB
Lua
135 lines
3.5 KiB
Lua
|
|
--------------------------------
|
|
-- @module EditBox
|
|
-- @extend ControlButton,IMEDelegate
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- @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
|
|
-- @param #cc.EditBox::InputMode inputmode
|
|
|
|
--------------------------------
|
|
-- @function [parent=#EditBox] setPlaceholderFontColor
|
|
-- @param self
|
|
-- @param #color3b_table color3b
|
|
|
|
--------------------------------
|
|
-- @function [parent=#EditBox] setFontColor
|
|
-- @param self
|
|
-- @param #color3b_table color3b
|
|
|
|
--------------------------------
|
|
-- @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
|
|
-- @param #cc.EditBox::KeyboardReturnType keyboardreturntype
|
|
|
|
--------------------------------
|
|
-- @function [parent=#EditBox] setInputFlag
|
|
-- @param self
|
|
-- @param #cc.EditBox::InputFlag inputflag
|
|
|
|
--------------------------------
|
|
-- @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)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#EditBox] setAnchorPoint
|
|
-- @param self
|
|
-- @param #vec2_table vec2
|
|
|
|
--------------------------------
|
|
-- @function [parent=#EditBox] setPosition
|
|
-- @param self
|
|
-- @param #vec2_table vec2
|
|
|
|
--------------------------------
|
|
-- @function [parent=#EditBox] setVisible
|
|
-- @param self
|
|
-- @param #bool bool
|
|
|
|
--------------------------------
|
|
-- @function [parent=#EditBox] setContentSize
|
|
-- @param self
|
|
-- @param #size_table size
|
|
|
|
--------------------------------
|
|
-- @function [parent=#EditBox] EditBox
|
|
-- @param self
|
|
|
|
return nil
|