/**
* @constructor
*/
function XUIEdit() {
}
XUIEdit.prototype = {
//事件
/**
* 回车键响应事件
* @eventname XUI_EDIT_ENTER
* @eventid 0x00002012
*/
//接口
/**
* 设置只读
* @param {Boolean} bReadOnly
* @property {Boolean} ReadOnly false
*/
SetReadOnly:function (bReadOnly) {
},
/**
* 是否只读
* @return {Boolean}
*/
IsReadOnly:function () {
},
/**
* 设置多行
* @param {Boolean} bMultiLine true为多行false为单行
* @property {Boolean} MultiLine true
*/
SetMultiLine:function (bMultiLine) {
},
/**
* 背景颜色绘制
* @param {Boolean} bDrawColor
* @property {Boolean} BgDrawColor true
*/
SetDrawColor:function (bDrawColor) {
},
/**
* 背景是否以颜色绘制
* @return {Boolean}
*/
IsDrawColor:function () {
},
/**
* 背景颜色
* @param {String} strColor 背景颜色
* @property {Color} CtrlBgColor "0xff003440"
*/
SetCtrlBgColor:function (strColor) {
},
/**
* 获取背景颜色
* @return {String}
*/
GetCtrlBgColor:function () {
},
/**
* 背景图片
* @param {ImageProp} strBgImg 背景图片
* @property {ImageProp} CtrlBgImage "XUIEdit/images/bg1.jpg"
*/
SetCtrlBgImage:function (strBgImg) {
},
/**
* 获取背景图片
* @return {String}
*/
GetCtrlBgImage:function () {
},
/**
* 背景边框
* @param {Number} nvalue 背景边框大小
* @param {String} strColor 背景边框颜色
* @property {Collection} CtrlBgBorder [1,"0xff57ccce"]
*/
SetCtrlBgBorder:function (nvalue,strColor) {
},
/**
* 获取背景边框大小
* @return {Number}
*/
GetCtrlBgBorder:function () {
},
/**
* 获取背景边框色
* @return {String}
*/
GetCtrlBgBorderColor:function () {
},
/**
* 输入框距左距离
* @param {Number} nLeft 偏移量
* @property {Number} TextPaddingLeft 0
*/
SetTextPaddingLeft:function (nLeft) {
},
/**
* 获取输入框距左距离
* @return {Number}
*/
GetTextPaddingLeft:function () {
},
/**
* 输入框文本颜色
* @param {String} strColor 输入框文本颜色
* @property {Color} InputTextColor "0xffffffff"
*/
SetInputTextColor:function (strColor) {
},
/**
* 获取文本颜色
* @return {String}
*/
GetInputTextColor:function () {
},
/**
* 输入框文本大小
* @param {Number} nValue 输入框文本大小
* @property {Number} InputTextFontSize 13
*/
SetInputTextFontSize:function (nValue) {
},
/**
* 获取文本大小
* @return {Number}
*/
GetInputTextFontSize:function () {
},
/**
* 多行输入框文本位置
* @param {String} strPosition 输入框文本位置
* @property {Combo} InputTextPosition ["left","center","right"]
*/
SetInputTextPosition:function (strPosition) {
},
/**
* 单行输入框文本位置
* @param {String} strPosition 输入框文本位置
* @property {Combo} SingleInputTextPosition ["left","center","right"]
*/
SetSingleInputTextPosition:function (strPosition) {
},
/**
* 获取多行收入文本位置
* @return {String}
*/
GetInputTextPosition:function () {
},
/**
* 获取单行输入文本位置
* @return {String}
*/
GetSingleInputTextPosition:function () {
},
/**
* 输入框文本
* @param {String} strText 输入框文本
* @property {String} Text ""
*/
SetText:function (strText) {
},
/**
* 多行输入提示信息
* @param {String} strContent 提示信息
* @property {String} InputTextPlaceholder "请输入内容"
*/
SetInputTextPlaceholder:function (strContent) {
},
/**
* 获取输入框文本
* @return {String}
*/
GetText:function () {
},
/**
* 单行输入框密码显示
* @param {Boolean} bPassword 是否密码显示
* @property {Boolean} InputPassword false
*/
SetInputPassword:function (bPassword) {
},
/**
* 输入框是否密码显示
* @return {Boolean}
*/
IsInputPassword:function () {
},
/**
* 滚动条样式
* @param {Number} nWidth 滚动条宽度
* @param {Number} nTrackR 轨道圆角
* @param {Number} nThumbR 滑块圆角
* @param {Number} nButtonH 按钮高度
* @param {Number} nButtonR 按钮圆角
*/
SetScrollBarFacade:function (nWidth,nTrackR,nThumbR,nButtonH,nButtonR) {
},
/**
* 滚动条颜色
* @param {String} strBgColor 滚条背景色
* @param {String} strTrackColor 轨道圆角颜色
* @param {String} strThumbColor 滑块圆角颜色
* @param {String} strButtonColor 按钮颜色
*/
SetScrollBarColor:function (strBgColor,strTrackColor,strThumbColor,strButtonColor) {
},
}