/**
* @constructor
*/
function XUISortTable() {
}
XUISortTable.prototype = {
//接口
/**
* 标题行内容
* @param {Array} arrData
*/
SetHearderContent:function (arrData) {
},
/**
* 获得标题行内容
* @return {Array}
*/
GetHearderContent:function () {
},
/**
* 列的数量
* @param {Number} nCount 列的数量
*/
SetColumnsCount:function (nCount) {
},
/**
* 获取列的数量
* @return {Number}
*/
GetColumnsCount:function () {
},
/**
* 标题行高
* @param {Number} nHeight 行高
*/
SetHearderHeight:function (nHeight) {
},
/**
* 获取标题行高
* @return {Number}
*/
GetHearderHeight:function () {
},
/**
* 标题行背景色
* @param {String} strColor 颜色
*/
SetHearderBgColor:function (strColor) {
},
/**
* 获取标题行背景色
* @return {String}
*/
GetHearderBgColor:function () {
},
/**
* 边框颜色
* @param {String} strColor 颜色
*/
SetBorderColor:function (strColor) {
},
/**
* 获取边框颜色
* @return {String}
*/
GetBorderColor:function () {
},
/**
* 所有标题
* @param {Array} arrData 数据
*/
SetHearderTitle:function (arrData) {
},
/**
* 获得所有标题
* @return {Array}
*/
GetHearderTitle:function () {
},
/**
* 单个标题
* @param {Number} nIndex 索引
* @param {String} strTit 标题
*/
SetHearderTitleByIndex:function (nIndex,strTit) {
},
/**
* 标题行列宽
* @param {Array} arrWidth
*/
SetHearderColumnsWidth:function (arrWidth) {
},
/**
* 获得标题行列宽
* @return {Array}
*/
GetHearderColumnsWidth:function () {
},
/**
* 加入行
* @param {Array} arrData
*/
AddRow:function (arrData) {
},
/**
* 数据区行高
* @param {Number} nHeight
*/
SetDataAeraHeight:function (nHeight) {
},
/**
* 获得数据区行高
* @return {Number}
*/
GetDataAeraHeight:function () {
},
/**
* 单行数据
* @param {Number} nIndex
* @param {Array} arrData
*/
SetRowData:function (nIndex,arrData) {
},
/**
* 获得单行数据
* @param {Number} nIndex
* @return {Array}
*/
GetRowData:function (nIndex) {
},
/**
* 单个数据
* @param {Number} nIndexX
* @param {Number} nIndexY
* @param {String} strData
*/
SetDataByIndex:function (nIndexX,nIndexY,strData) {
},
/**
* 获取单个数据
* @param {Number} nIndexX
* @param {Number} nIndexY
* @return {String}
*/
GetDataByIndex:function (nIndexX,nIndexY) {
},
/**
* 单列宽度
* @param {Number} nIndex 索引
* @param {Number} nWidth 宽度
*/
SetColumnWidthByIndex:function (nIndex,nWidth) {
},
/**
* 获取单列宽度
* @param {Number} nIndex 索引
*/
GetColumnWidthByIndex:function (nIndex) {
},
/**
* 背景行颜色
* @param {Array} arrColor
* @property {Array} RowsBgColor ["0xff002729","0xff002729"]
*/
SetRowsBgColor:function (arrColor) {
},
/**
* 获取背景行颜色
* @return {Array}
*/
GetRowsBgColor:function () {
},
/**
* 获取某行背景颜色
* @param {Number} nIndex
* @return {String}
*/
GetRowBgColorByIndex:function (nIndex) {
},
/**
* 设置可排序列
* @param {Number} nIndex
*/
SetColumnSort:function (nIndex) {
},
/**
* 获取可排序列
* @return {Array}
*/
GetColumnSort:function () {
},
/**
* 正向排序
* @param {Number} nIndex
*/
SortPositive:function (nIndex) {
},
/**
* 逆向排序
* @param {Number} nIndex
*/
SortReversed:function (nIndex) {
},
/**
* 箭头颜色
* @param {String} strNoSort
* @param {String} strSort
* @property {Collection} ArrowsColor ["0xff283e75","0xff43bafe"]
*/
SetArrowsColor:function (strNoSort,strSort) {
},
/**
* 获取箭头颜色
* @return {Array}
*/
GetArrowsColor:function () {
},
/**
* 增加列
* @param {String} strText 标题
* @param {Number} nWidth 宽
* @param {Boolean} bSort 是否排序
* @param {Array} arrData 数据
*/
AddColumn:function (strText,nWidth,bSort,arrData) {
},
/**
* 插入列
* @param {Number} nIndex 索引
* @param {String} strText 标题
* @param {Number} nWidth 宽
* @param {Boolean} bSort 是否排序
* @param {Array} arrData 数据
*/
InsertColumn:function (nIndex,strText,nWidth,bSort,arrData) {
},
/**
* 插入行
* @param {Number} nIndex 索引
* @param {Array} arrData 数据
*/
InsertRows:function (nIndex,arrData) {
},
/**
* 单行文字颜色
* @param {Number} nIndex 索引
* @param {String} strColor 颜色
*/
SetRowTextColorByIndex:function (nIndex,strColor) {
},
/**
* 获取单行文字颜色
* @param {Number} nIndex 索引
* @return {String}
*/
GetRowTextColorByIndex:function (nIndex) {
},
/**
* 单列文字颜色
* @param {Number} nIndex 索引
* @param {String} strColor 颜色
*/
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 14
*/
SetRowsTextSize:function (nSize) {
},
/**
* 获取所有行文字大小
* @return {Number}
*/
GetRowsTextSize:function () {
},
/**
* 单行文字大小
* @param {Number} nIndex 索引
* @param {Number} nSize 大小
*/
SetRowTextSizeByIndex:function (nIndex,nSize) {
},
/**
* 获取单行文字大小
* @param {Number} nIndex 索引
* @return {Number}
*/
GetRowTextSizeByIndex:function (nIndex) {
},
/**
* 单列文字大小
* @param {Number} nIndex 索引
* @param {Number} nSize 大小
*/
SetColumnTextSizeByIndex:function (nIndex,nSize) {
},
/**
* 获取单列文字大小
* @param {Number} nIndex 索引
* @return {Number}
*/
GetColumnTextSizeByIndex:function (nIndex) {
},
/**
* 标题行文字大小
* @param {Number} nSize 大小
* @property {Number} HearderTextSize 14
*/
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 {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 () {
},
}