-------------------------------- -- @module TextField -- @extend Widget -- @parent_module ccui -------------------------------- -- @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 #int textvalignment -------------------------------- -- @function [parent=#TextField] addEventListener -- @param self -- @param #function func -------------------------------- -- @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) -------------------------------- -- @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 #int 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 #vec2_table vec2 -- @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 -- @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] 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) -------------------------------- -- @function [parent=#TextField] TextField -- @param self return nil