mirror of https://github.com/axmolengine/axmol.git
217 lines
5.9 KiB
Lua
217 lines
5.9 KiB
Lua
|
|
--------------------------------
|
|
-- @module TextField
|
|
-- @extend Widget
|
|
|
|
--------------------------------
|
|
-- @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] 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 #cc.TextVAlignment textvalignment
|
|
|
|
--------------------------------
|
|
-- @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] setPasswordEnabled
|
|
-- @param self
|
|
-- @param #bool bool
|
|
|
|
--------------------------------
|
|
-- @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] setPasswordStyleText
|
|
-- @param self
|
|
-- @param #char char
|
|
|
|
--------------------------------
|
|
-- @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
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TextField] isPasswordEnabled
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TextField] setTextHorizontalAlignment
|
|
-- @param self
|
|
-- @param #cc.TextHAlignment texthalignment
|
|
|
|
--------------------------------
|
|
-- @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 #point_table point
|
|
-- @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 function: create(string, string, int)
|
|
--
|
|
-- overload function: create()
|
|
--
|
|
-- @function [parent=#TextField] create
|
|
-- @param self
|
|
-- @param #string str
|
|
-- @param #string str
|
|
-- @param #int int
|
|
-- @return TextField#TextField ret (retunr value: ccui.TextField)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TextField] createInstance
|
|
-- @param self
|
|
-- @return Ref#Ref ret (return value: cc.Ref)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TextField] setAnchorPoint
|
|
-- @param self
|
|
-- @param #point_table point
|
|
|
|
--------------------------------
|
|
-- @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] getContentSize
|
|
-- @param self
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#TextField] TextField
|
|
-- @param self
|
|
|
|
return nil
|