/**
* @constructor
*/
function XUIMultifunctionTable() {
}
XUIMultifunctionTable.prototype = {
//事件
/**
* 按钮点击事件
* @eventname XUI_MultifunctionTable_CLICK
* @eventid 0x00001010
*/
/**
* 开关点击事件
* @eventname XUI_MultifunctionTable_START
* @eventid 0x00001011
*/
//接口
/**
* 标题行内容
* @param {Array} arrData 标题
* @param {Array} arrWidth 数据
*/
SetHearderContent:function (arrData,arrWidth) {
},
/**
* 加入单列标题
* @param {String} strTitle 标题
* @param {Number} nWidth 宽度
*/
AddHearderContent:function (strTitle,nWidth) {
},
/**
* 获得标题行内容
* @return {Array}
*/
GetHearderContent:function () {
},
/**
* 列的数量
* @param {Number} nCount 列的数量
*/
SetColumnsCount:function (nCount) {
},
/**
* 获取列的数量
* @return {Number}
*/
GetColumnsCount:function () {
},
/**
* 标题行高
* @param {Number} nHeight 行高
* @property {Number} HearderHeight 40
*/
SetHearderHeight:function (nHeight) {
},
/**
* 获取标题行高
* @return {Number}
*/
GetHearderHeight:function () {
},
/**
* 标题行背景色
* @param {String} strColor 背景色
* @property {Color} HearderBgColor "0xff111f3f"
*/
SetHearderBgColor:function (strColor) {
},
/**
* 获取标题行背景色
* @return {String}
*/
GetHearderBgColor:function () {
},
/**
* 边框颜色
* @param {String} strColor 颜色
* @property {Color} BorderColor "0xff1f3260"
*/
SetBorderColor:function (strColor) {
},
/**
* 获取边框颜色
* @return {String}
*/
GetBorderColor:function () {
},
/**
* 标题行列宽
* @param {Array} arrWidth
*/
SetHearderColumnWidth:function (arrWidth) {
},
/**
* 获得标题行列宽
* @return {Array}
*/
GetHearderColumnWidth:function () {
},
/**
* 所有标题
* @param {Array} arrData 数据
*/
SetHearderTitle:function (arrData) {
},
/**
* 获得所有标题
* @return {Array}
*/
GetHearderTitle:function () {
},
/**
* 加入行
* @param {Array} arrData 数据
*/
AddRowsContent:function (arrData) {
},
/**
* 数据区行高
* @param {Number} nHeight 行高
* @property {Number} DataAeraHeight 20
*/
SetDataAeraHeight:function (nHeight) {
},
/**
* 获得数据区行高
* @return {Number}
*/
GetDataAeraHeight:function () {
},
/**
* 单行数据
* @param {Number} nIndex 索引
* @param {Array} arrData 数据
*/
SetRowData:function (nIndex,arrData) {
},
/**
* 单行所有数据
* @param {Number} nIndex 索引
* @param {Array} arrData 数据
*/
SetRowAllData:function (nIndex,arrData) {
},
/**
* 获得单行数据
* @param {Number} nIndex 索引
* @return {Array}
*/
GetRowData:function (nIndex) {
},
/**
* 背景行渐变色
* @param {Array} arrColor 颜色
* @property {Array} RowsBgColor ["0xff0b152a", "0xff111f3f"]
*/
SetRowsBgColor:function (arrColor) {
},
/**
* 获取背景行渐变色
* @return {Array}
*/
GetRowsBgColor:function () {
},
/**
* 列的功能
* @param {Number} nIndex 索引
* @param {String} strEffect 功能
* @param {Array} arrData 数据
*/
SetColumnFunction:function (nIndex,strEffect,arrData) {
},
/**
* 获取列的功能
* @return {Array}
*/
GetColumnFunction:function () {
},
/**
* 选项框内容
* @param {Number} nIndex1 行索引
* @param {Number} nIndex2 列索引
* @param {Array} arrData 数据
* @param {Number} nIndex 默认值索引
*/
ListContent:function (nIndex1,nIndex2,arrData,nIndex) {
},
/**
* 单个选项框默认内容
* @param {Number} nIndex 索引
* @param {String} strData 数据
*/
SetListDefultContentByIndex:function (nIndex,strData) {
},
/**
* 获得单个选项框默认内容
* @param {Number} nIndex 索引
*/
GetListDefultContentByIndex:function (nIndex) {
},
/**
* 通过序号获得单个选项框默认内容
* @param {Number} strSerial 序号
* @return {String}
*/
GetListDefultContentBySerial:function (strSerial) {
},
/**
* 选项框背景色
* @param {String} strColor 选项框背景色
* @property {Color} ListBgColor "0xff213361"
*/
SetListBgColor:function (strColor) {
},
/**
* 获得选项框背景色
* @return {String}
*/
GetListBgColor:function () {
},
/**
* 选项框边框颜色
* @param {String} strColor 选项框边框颜色
* @property {Color} ListBorderColor "0xff2a7ecf"
*/
SetListBorderColor:function (strColor) {
},
/**
* 获得选项框边框颜色
* @return {String}
*/
GetListBorderColor:function () {
},
/**
* 选项框箭头颜色
* @param {String} strColor 颜色
* @property {Color} ArrowsColor "0xff2a7ecf"
*/
SetArrowsColor:function (strColor) {
},
/**
* 获得选项框箭头颜色
* @return {String}
*/
GetArrowsColor:function () {
},
/**
* 选项框选区背景色
* @param {String} strColor 颜色
* @property {Color} SelectionAreaBgColor "0xff111f3f"
*/
SetSelectionAreaBgColor:function (strColor) {
},
/**
* 列表功能选项高亮颜色
* @param {String} strColor 颜色
* @property {Color} ListItemHoverColor "0xff273E79"
*/
SetListItemHoverColor:function (strColor) {
},
/**
* 获得列表功能选项高亮颜色
* @return {String}
*/
GetListItemHoverColor:function () {
},
/**
* 获得选项框选区背景色
* @return {String}
*/
GetSelectionAreaBgColor:function () {
},
/**
* 选项框文字颜色
* @param {String} strColor 颜色
* @property {Color} ListTextColor "0xffffffff"
*/
SetListTextColor:function (strColor) {
},
/**
* 获得选项框文字颜色
* @return {String}
*/
GetListTextColor:function () {
},
/**
* 选项框文字大小
* @param {Number} nSize 大小
* @property {Number} ListTextSize 16
*/
SetListTextSize:function (nSize) {
},
/**
* 选项框文字大小
* @return {Number}
*/
GetListTextSize:function () {
},
/**
* 单个开关状态
* @param {Number} nIndex 索引
* @param {Boolean} bStart 状态
*/
SetSwitchStartByIndex:function (nIndex,bStart) {
},
/**
* 获得单个开关状态
* @param {String} nIndex 索引
* @return {Boolean}
*/
GetSwitchStartByIndex:function (nIndex) {
},
/**
* 通过序号获得单个开关状态
* @param {String} strSerial 序号
* @return {Boolean}
*/
GetSwitchStartBySerial:function (strSerial) {
},
/**
* 开关颜色
* @param {String} strColor1 关时颜色
* @param {String} strColor2 开时颜色
* @property {Collection} SwitchColor ["0xff1B4675","0xff3BCAFC"]
*/
SetSwitchColor:function (strColor1,strColor2) {
},
/**
* 获得开关颜色
* @return {Array}
*/
GetSwitchColor:function () {
},
/**
* 开关背景色
* @param {String} strColor 颜色
* @property {Color} SwitchBgColor "0xff111c34"
*/
SetSwitchBgColor:function (strColor) {
},
/**
* 获得开关背景色
* @return {String}
*/
GetSwitchBgColor:function () {
},
/**
* 开关边框色
* @param {String} strColor1 关时颜色
* @param {String} strColor2 开时颜色
* @property {Collection} SwitchBorderColor ["0xff163159","0xff266fb7"]
*/
SetSwitchBorderColor:function (strColor1,strColor2) {
},
/**
* 获得开关边框色
* @return {Array}
*/
GetSwitchBorderColor:function () {
},
/**
* 开关文字颜色
* @param {String} strColor1 关时颜色
* @param {String} strColor2 开时颜色
* @property {Collection} SwitchTextColor ["0xff298ec3","0xffffffff"]
*/
SetSwitchTextColor:function (strColor1,strColor2) {
},
/**
* 获得开关文字颜色
* @return {Array}
*/
GetSwitchTextColor:function () {
},
/**
* 开关文字大小
* @param {Number} nSize 大小
* @property {Number} SwitchTextSize 16
*/
SetSwitchTextSize:function (nSize) {
},
/**
* 获得开关文字大小
* @return {Number}
*/
GetSwitchTextSize:function () {
},
/**
* 按钮文字大小
* @param {Number} nSize 大小
* @property {Number} ButtomTextSize 16
*/
SetButtomTextSize:function (nSize) {
},
/**
* 获得按钮文字大小
* @return {Number}
*/
GetButtomTextSize:function () {
},
/**
* 按钮文字颜色
* @param {String} strColor 颜色
* @property {Color} ButtomTextColor "0xffffffff"
*/
SetButtomTextColor:function (strColor) {
},
/**
* 获得按钮文字颜色
* @return {String}
*/
GetButtomTextColor:function () {
},
/**
* 按钮背景图
* @param {ImageProp} strImg 背景图
* @property {ImageProp} ButtomBgImg "NUODT_JTFA/XUIMultifunctionTable/images/btn_apply_nor.png"
*/
SetButtomBgImg:function (strImg) {
},
/**
* 按钮点击背景图
* @param {ImageProp} strImg 背景图
* @property {ImageProp} ButtomClickBgImg "NUODT_JTFA/XUIMultifunctionTable/images/btn_apply_pre.png"
*/
SetButtomClickBgImg:function (strImg) {
},
/**
* 按钮悬浮背景图
* @param {ImageProp} strImg 背景图
* @property {ImageProp} ButtomHoverBgImg "NUODT_JTFA/XUIMultifunctionTable/images/btn_apply_hot.png"
*/
SetButtomHoverBgImg:function (strImg) {
},
/**
* 获得按钮背景图
* @return {String}
*/
GetButtomBgImg:function () {
},
/**
* 获得按钮点击背景图
* @return {String}
*/
GetButtomClickBgImg:function () {
},
/**
* 按钮悬浮背景图
* @return {String}
*/
GetButtomHoverBgImg:function () {
},
/**
* 增加列
* @param {String} strText 标题
* @param {Number} nWidth 宽
* @param {Array} arrData 数据
*/
AddColumn:function (strText,nWidth,arrData) {
},
/**
* 插入列
* @param {Number} nIndex 索引
* @param {String} strText 标题
* @param {Number} nWidth 宽
* @param {Array} arrData 数据
*/
InsertColumn:function (nIndex,strText,nWidth,arrData) {
},
/**
* 插入行
* @param {Number} nIndex 索引
* @param {Array} arrData 数据
*/
InsertRows:function (nIndex,arrData) {
},
/**
* 单行文字颜色
* @param {Number} nIndex 索引
* @param {String} strColor 颜色
* @property {Collection} RowTextColorByIndex [0,"0xffffffff"]
*/
SetRowTextColorByIndex:function (nIndex,strColor) {
},
/**
* 获取单行文字颜色
* @param {Number} nIndex 索引
* @return {String}
*/
GetRowTextColorByIndex:function (nIndex) {
},
/**
* 单列文字颜色
* @param {Number} nIndex 索引
* @param {String} strColor 颜色
* @property {Collection} ColumnTextColorByIndex [0,"0xffffffff"]
*/
SetColumnTextColorByIndex:function (nIndex,strColor) {
},
/**
* 获取单列文字颜色
* @param {Number} nIndex 索引
* @return {String}
*/
GetColumnTextColorByIndex:function (nIndex) {
},
/**
* 所有行文字颜色
* @param {String} strColor 颜色
* @property {Color} RowsTextColor "0xff000000"
*/
SetRowsTextColor:function (strColor) {
},
/**
* 获取所有行文字颜色
* @return {String}
*/
GetRowsTextColor:function () {
},
/**
* 所有行文字大小
* @param {Number} nSize 颜色
* @property {Number} RowsTextSize 16
*/
SetRowsTextSize:function (nSize) {
},
/**
* 获取所有行文字大小
* @return {Number}
*/
GetRowsTextSize:function () {
},
/**
* 单行文字大小
* @param {Number} nIndex 索引
* @param {Number} nSize 大小
* @property {Collection} RowTextSizeByIndex [0,14]
*/
SetRowTextSizeByIndex:function (nIndex,nSize) {
},
/**
* 获取单行文字大小
* @param {Number} nIndex 索引
* @return {Number}
*/
GetRowTextSizeByIndex:function (nIndex) {
},
/**
* 单列文字大小
* @param {Number} nIndex 索引
* @param {Number} nSize 大小
* @property {Collection} ColumnTextSizeByIndex [0,14]
*/
SetColumnTextSizeByIndex:function (nIndex,nSize) {
},
/**
* 获取单列文字大小
* @param {Number} nIndex 索引
* @return {Number}
*/
GetColumnTextSizeByIndex:function (nIndex) {
},
/**
* 单列背景色
* @param {Number} nIndex 索引
* @param {Number} strColor 背景色
*/
SetColumnBgColorByIndex:function (nIndex,strColor) {
},
/**
* 获取单列背景色
* @param {Number} nIndex 索引
* @return {String}
*/
GetColumnBgColorByIndex:function (nIndex) {
},
/**
* 表头单元格背景色
* @param {Number} nIndex 索引
* @param {Number} strColor 背景色
*/
SetHearderCellBgColorByIndex:function (nIndex,strColor) {
},
/**
* 获取表头单元格背景色
* @param {Number} nIndex 索引
* @return {String}
*/
GetHearderCellBgColorByIndex:function (nIndex) {
},
/**
* 单个单元格背景色
* @param {Number} nIndex1 行索引
* @param {Number} nIndex2 列索引
* @param {String} strColor 背景色
*/
SetCellBgColorByIndex:function (nIndex1,nIndex2,strColor) {
},
/**
* 获取单个单元格背景色
* @param {Number} nIndex1 行索引
* @param {Number} nIndex2 列索引
* @return {String}
*/
GetCellBgColorByIndex:function (nIndex1,nIndex2) {
},
/**
* 标题行文字大小
* @param {Number} nSize 大小
* @property {Number} HearderTextSize 16
*/
SetHearderTextSize:function (nSize) {
},
/**
* 获取标题行文字大小
* @return {Number}
*/
GetHearderTextSize:function () {
},
/**
* 标题行文字颜色
* @param {String} strColor 大小
* @property {Color} HearderTextColor "0xffffffff"
*/
SetHearderTextColor:function (strColor) {
},
/**
* 获取标题行文字颜色
* @return {String}
*/
GetHearderTextColor:function () {
},
/**
* 是否绘制图标背景色
* @param {Boolean} bDraw true背景色,false背景图
* @property {Boolean} DrawBgColor true
*/
SetDrawBgColor:function (bDraw) {
},
/**
* 获取是否绘制图标背景色
* @return {Boolean}
*/
IsDrawBgColor:function () {
},
/**
* 背景颜色
* @param {String} strColor 颜色
* @property {Color} BgColor "0x00000000"
*/
SetBgColor:function (strColor) {
},
/**
* 获取背景颜色
* @return {String}
*/
GetBgColor:function () {
},
/**
* 背景图
* @param {ImageProp} strImg 图片
* @property {ImageProp} BgImg ""
*/
SetBgImg:function (strImg) {
},
/**
* 获取背景图
* @return {String}
*/
GetBgImg:function () {
},
/**
* 背景图绘制模式
* @param {String} strMode 图片
* @property {Combo} BgImgRepeat ["repeat","no-repeat","repeat-x","repeat-y"]
*/
SetBgImgRepeat:function (strMode) {
},
/**
* 获取背景图绘制模式
* @return {String}
*/
GetBgImgRepeat:function () {
},
/**
* 清空
*/
Clear:function () {
},
/**
* 清空
*/
ClearDataArea:function () {
},
/**
* 删除行
* @param {Number} nIndex 索引
*/
DelRowByIndex:function (nIndex) {
},
/**
* 删除列
* @param {Number} nIndex 索引
*/
DelColumnByIndex:function (nIndex) {
},
/**
* 隐藏控件
* @param {Boolean} bVisible 是否显示
*/
DelColumnByIndex:function (bVisible) {
},
/**
* 滚动条容器宽度
* @param {Number} nWidth 滚动条容器宽度
*/
SetScrollBarContainerWidth:function (nWidth) {
},
/**
* 滚动条宽度
* @param {Number} nWidth 宽度
*/
SetScrollBarWidth:function (nWidth) {
},
/**
* 滚动条背景色
* @param {String} strColor 背景色
* @property {Color} ScrollBarBgColor "0x00000000"
*/
SetScrollBarBgColor:function (strColor) {
},
/**
* 滑块颜色
* @param {String} strColor 滑块颜色
* @property {Color} ChunkColor "0xff1B4675"
*/
SetChunkColor:function (strColor) {
},
/**
* 滑块圆角
* @param {Number} nRadius 滑块圆角
* @property {Number} ChunkRadius 10
*/
SetChunkRadius:function (nRadius) {
},
/**
* 获得滚动条容器宽度
* @return {Number}
*/
GetScrollBarContainerWidth:function () {
},
/**
* 获得滚动条宽度
* @return {Number}
*/
GetScrollBarWidth:function () {
},
/**
* 获得滚动条背景色
* @return {String}
*/
GetScrollBarBgColor:function () {
},
/**
* 获得滑块颜色
* @return {String}
*/
GetChunkColor:function () {
},
/**
* 获得滑块圆角
* @return {Number}
*/
GetChunkRadius:function () {
},
}