/**
* @constructor
*/
function XUITooltipTable() {
}
XUITooltipTable.prototype = {
//接口
/**
* 行数和列数
* @param {Array} arrColumn 列
* @param {Array} arrRow 行
*/
SetColumnsAndRows:function (arrColumn,arrRow) {
},
/**
* 列的内边距
* @param {Number} nPad 边距
* @property {Number} ColumnPadding 10
*/
SetColumnPadding:function (nPad) {
},
/**
* 使用颜色绘制
* @param {Boolean} bDrawColor 使用颜色绘制
* @property {Boolean} DrawColor true
*/
SetDrawColor:function (bDrawColor) {
},
/**
* 背景颜色
* @param {String} strColor 背景颜色
* @property {Color} BgColor "0xffff0000"
*/
SetBgColor:function (strColor) {
},
/**
* 背景图片
* @param {ImageProp} strImage
* @property {ImageProp} BgImage ""
*/
SetBgImage:function (strImage) {
},
/**
* 行背景色
* @param {Array} arrBgColor 背景色
* @param {Boolean} bShowBorder 显示边框
* @param {String} strBorderColor 边框色
*/
SetRowBgColor:function (arrBgColor,bShowBorder,strBorderColor) {
},
/**
* 获取行背景色
* @param {Number} nIndex 行的index
* @return {String}
*/
GetRowBgColor:function (nIndex) {
},
/**
* 标题背景色
* @param {String} strColor 背景色
* @param {Boolean} bShowBorder 显示边框
* @param {String} strBorderColor 边框色
*/
SetHeaderBgColor:function (strColor,bShowBorder,strBorderColor) {
},
/**
* 标题
* @param {Array} arrTitle 标题
*/
SetTitleData:function (arrTitle) {
},
/**
* 设置数据个数
* @param {Number} nCount 数据个数
*/
SetPerRowDataCount:function (nCount) {
},
/**
* 某行设置数据,适用一行对应一组数据的情况
* @param {Number} nRowIndex 行下标
* @param {Number} nColumnIndex 列下标
* @param {Array} arrData 数据数组
*/
SetDatas:function (nRowIndex,nColumnIndex,arrData) {
},
/**
* 加入数据
* @param {String} strElement tooltip根元素标签id
* @param {Number} nDataIndex 下标
*/
ShowData:function (strElement,nDataIndex) {
},
/**
* 设置行显示隐藏
* @param {Number} nRowIndex 行的下标
* @param {Boolean} bShow 是否显示
*/
ShowRow:function (nRowIndex,bShow) {
},
/**
* 行是否显示
* @param {Number} nIndex 行的下标
* @return {Boolean}
*/
IsRowVisible:function (nIndex) {
},
/**
* 数据的文字颜色
* @param {String} strColor 颜色
* @property {Color} DataColor "0xff92b0b3"
*/
SetDataColor:function (strColor) {
},
/**
* 科学计数法显示
* @param {Boolean} bScientificNotation 是否是科学计数法
* @param {Number} nNum 精度
*/
ScientificNotationFormat:function (bScientificNotation,nNum) {
},
/**
* 所有文字大小
* @param {Number} nSize 大小
* @property {Number} DataSize 16
*/
SetDataSize:function (nSize) {
},
/**
* 表头行文字颜色
* @param {String} strColor 颜色
* @property {Color} HearderColor "0xffffffff"
*/
SetHearderColor:function (strColor) {
},
/**
* 第一列颜色
* @param {String} strColor 颜色
* @property {Color} FirstColumnColor "0xff1cd1b9"
*/
SetFirstColumnColor:function (strColor) {
},
/**
* 某一列颜色
* @param {Number} nIndex 索引
* @param {String} strColor 颜色
*/
SetColumnColorByIndex:function (nIndex,strColor) {
},
/**
* 第一个单元格颜色
* @param {String} strColor 颜色
* @property {Color} FirstCellColor "0xffffffff"
*/
SetFirstCellColor:function (strColor) {
},
/**
* 左边框
* @param {Number} nWidth 宽度
* @param {String} strType 类型
* @param {String} strColor 颜色
* @property {Collection} LeftBorder [1,"solid","0xff9cdcfe"]
*/
SetLeftBorder:function (nWidth,strType,strColor) {
},
/**
* 右边框
* @param {Number} nWidth 宽度
* @param {String} strType 类型
* @param {String} strColor 颜色
* @property {Collection} RightBorder [1,"solid","0xff9cdcfe"]
*/
SetRightBorder:function (nWidth,strType,strColor) {
},
/**
* 上边框
* @param {Number} nWidth 宽度
* @param {String} strType 类型
* @param {String} strColor 颜色
* @property {Collection} TopBorder [1,"solid","0x4d9cdcfe"]
*/
SetTopBorder:function (nWidth,strType,strColor) {
},
/**
* 下边框
* @param {Number} nWidth 宽度
* @param {String} strType 类型
* @param {String} strColor 颜色
* @property {Collection} BottomBorder [1,"solid","0x4d9cdcfe"]
*/
SetBottomBorder:function (nWidth,strType,strColor) {
},
/**
* 圆角
* @param {Number} nRadius 半径
* @property {Number} Radius 5
*/
SetRadius:function (nRadius) {
},
}