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

238 lines
6.6 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module TextField
-- @extend Widget
-- @parent_module ccui
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#TextField] setAttachWithIME
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#TextField] getFontSize
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#TextField] getStringValue
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#TextField] setPasswordStyleText
-- @param self
-- @param #char char
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#TextField] getDeleteBackward
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#TextField] getPlaceHolder
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#TextField] getAttachWithIME
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#TextField] setFontName
-- @param self
-- @param #string str
--------------------------------
-- @function [parent=#TextField] getInsertText
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#TextField] setInsertText
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#TextField] getDetachWithIME
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#TextField] setTextVerticalAlignment
-- @param self
-- @param #int textvalignment
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#TextField] addEventListener
-- @param self
-- @param #function func
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#TextField] didNotSelectSelf
-- @param self
--------------------------------
-- @function [parent=#TextField] getFontName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#TextField] setTextAreaSize
-- @param self
-- @param #size_table size
--------------------------------
-- @function [parent=#TextField] attachWithIME
-- @param self
--------------------------------
-- @function [parent=#TextField] getStringLength
-- @param self
-- @return int#int ret (return value: int)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#TextField] setPasswordEnabled
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#TextField] getPlaceHolderColor
-- @param self
-- @return color4b_table#color4b_table ret (return value: color4b_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#TextField] getPasswordStyleText
-- @param self
-- @return char#char ret (return value: char)
--------------------------------
-- @function [parent=#TextField] setMaxLengthEnabled
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#TextField] isPasswordEnabled
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
--------------------------------
-- @function [parent=#TextField] setDeleteBackward
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#TextField] setFontSize
-- @param self
-- @param #int int
--------------------------------
-- @function [parent=#TextField] setPlaceHolder
-- @param self
-- @param #string str
--------------------------------
-- @overload self, color4b_table
-- @overload self, color3b_table
-- @function [parent=#TextField] setPlaceHolderColor
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #color3b_table color3b
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#TextField] setTextHorizontalAlignment
-- @param self
-- @param #int texthalignment
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#TextField] setTextColor
-- @param self
-- @param #color4b_table color4b
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#TextField] getMaxLength
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#TextField] isMaxLengthEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#TextField] setDetachWithIME
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#TextField] setText
-- @param self
-- @param #string str
--------------------------------
-- @function [parent=#TextField] setTouchAreaEnabled
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#TextField] hitTest
-- @param self
-- @param #vec2_table vec2
2014-03-10 14:04:58 +08:00
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#TextField] setMaxLength
-- @param self
-- @param #int int
--------------------------------
-- @function [parent=#TextField] setTouchSize
-- @param self
-- @param #size_table size
--------------------------------
-- @function [parent=#TextField] getTouchSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- @overload self, string, string, int
-- @overload self
-- @function [parent=#TextField] create
2014-03-10 14:04:58 +08:00
-- @param self
-- @param #string str
-- @param #string str
-- @param #int int
-- @return TextField#TextField ret (retunr value: ccui.TextField)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#TextField] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
-- @function [parent=#TextField] getVirtualRenderer
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
-- @function [parent=#TextField] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#TextField] update
-- @param self
-- @param #float float
--------------------------------
-- @function [parent=#TextField] getVirtualRendererSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @function [parent=#TextField] TextField
-- @param self
return nil