/**
* @constructor
*/
function XUIPieDashboard() {
}
XUIPieDashboard.prototype = {
//组件
/**
"pie1":{
"title":"饼图1",
"name":"pie1",
"type":"PUIPieInterface",
"index":0
}*/
/**
"pie2":{
"title":"饼图2",
"name":"pie2",
"type":"PUIPieInterface",
"index":1
}*/
/**
"pie3":{
"title":"饼图3",
"name":"pie3",
"type":"PUIPieInterface",
"index":2
}*/
/**
"tooltip":{
"title":"提示框",
"name":"tooltip",
"type":"PUIPieInterface",
"index":0
}*/
//接口
/**
* 背景颜色
* @param {String} strColor 控件的背景颜色
* @property {Color} BgColor "0xff061432"
*/
SetBgColor:function (strColor) {
},
/**
* 获取背景颜色
* @return {String}
*/
GetBgColor:function () {
},
/**
* 背景图
* @param {ImageProp} strImage 图
* @property {ImageProp} BackgroundImage ""
*/
SetBgImage:function (strImage) {
},
/**
* 获取背景图
* @return {String}
*/
GetBgImage:function () {
},
/**
* 背景图绘制模式
* @param {String} strModel 绘制模式
* @property {Combo} PicModel ["no-repeat","repeat-x","repeat-y","repeat"]
*/
SetPicModel:function (strModel) {
},
/**
* 获取背景图绘制模式
* @return {String}
*/
GetPicModel:function () {
},
/**
* 背景圆景色
* @param {String} strColor 进度条背景色
* @property {Color} BgRoundColor "0xff08282c"
*/
SetBgRoundColor:function (strColor) {
},
/**
* 获取背景圆颜色
* @return {String}
*/
GetBgRoundColor:function () {
},
/**
* 进度条前景色
* @param {String} strColor 前景色
* @property {Color} ProgressForegroundColor "0xff00ffff"
*/
SetProgressForegroundColor:function (strColor) {
},
/**
* 获取宽进度条前景色
* @return {String}
*/
GetProgressForegroundColor:function () {
},
/**
* 度条背景颜色
* @param {String} strColor 窄进度条颜色
* @property {Color} ProgressBgColor "0xff008383"
*/
SetProgressBgColor:function (strColor) {
},
/**
* 获取进度条背景颜色
* @return {String}
*/
GetProgressBgColor:function () {
},
/**
* 控件的大小
* @param {Number} nSize 控件的大小
* @property {Number} Size 60
*/
SetSize:function (nSize) {
},
/**
* 获取控件的大小
* @return {Number}
*/
GetSize:function () {
},
/**
* 修改当前数据
* @param {Number} newData 当前内存占用值
*/
SetNowData:function (newData) {
},
/**
* 圆环宽度
* @param {Number} nWidth 宽度
* @property {Number} BgRoundWidth 5
*/
SetBgRoundWidth:function (nWidth) {
},
/**
* 获取圆环宽度
* @return {Number}
*/
GetBgRoundWidth:function () {
},
/**
* 进度条背景宽度
* @param {Number} nWidth 背景宽度
* @property {Number} ProgressBgWidth 5
*/
SetProgressBgWidth:function (nWidth) {
},
/**
* 获取进度条背景宽度
* @return {Number}
*/
GetProgressBgWidth:function () {
},
/**
* 进度条前景宽度
* @param {Number} nWidth 宽进度条的宽度
* @property {Number} ProgressForegroundWidth 8
*/
SetProgressForegroundWidth:function (nWidth) {
},
/**
* 获取进度条前景宽度
* @return {Number}
*/
GetProgressForegroundWidth:function () {
},
/**
* 控件中心图
* @param {ImageProp} strImage 控件中心图
*/
SetIconPath:function (strImage) {
},
/**
* 获取控件中心图
* @return {String}
*/
GetIconPath:function () {
},
/**
* 控件中心图大小
* @param {Number} nWidth 宽度
* @param {Number} nHeight 高度
* @property {Collection} IconSize [80,80]
*/
SetIconSize:function (nWidth,nHeight) {
},
/**
* 获取控件中心图大小
* @return {Number}
*/
GetIconSize:function () {
},
/**
* 中间文本的颜色
* @param {String} strColor 中间文本的颜色
* @property {Color} TextColor "0xffffffff"
*/
SetTextColor:function (strColor) {
},
/**
* 获取中间文本的颜色
* @return {String}
*/
GetTextColor:function () {
},
/**
* 中间文本的大小
* @param {Number} nTextSize 中间文本的大小
* @property {Number} TextSize 28
*/
SetTextSize:function (nTextSize) {
},
/**
* 获取中间文本的大小
* @return {Number}
*/
GetTextSize:function () {
},
/**
* 修改中间文本上下间距
* @param {Number} nTextHeight 中间文本高度
* @property {Number} TextHeight 40
*/
SetTextHeight:function (nTextHeight) {
},
/**
* 获取中间文本高度
* @return {Number}
*/
GetTextHeight:function () {
},
/**
* 中间文本字体
* @param {String} strFontFamily 中间文本字体
* @property {String} TextFontFamily "sans-serif"
*/
SetTextFontFamily:function (strFontFamily) {
},
/**
* 获取中间文本字体
* @return {String}
*/
GetTextFontFamily:function () {
},
/**
* 中间文本内容
* @param {String} strText 中间文本内容
* @property {String} Text "磁盘总容量"
*/
SetText:function (strText) {
},
/**
* 获取中间文本内容
* @return {String}
*/
GetText:function () {
},
/**
* 中间文本粗细
* @param {String} strFontWeight 中间文本粗细
* @property {Combo} TextFontWeight ["normal","bold","bolder","lighter"]
*/
SetTextFontWeight:function (strFontWeight) {
},
/**
* 获取中间文本粗细
* @return {String}
*/
GetTextFontWeight:function () {
},
/**
* 中间数据的颜色
* @param {String} strColor 中间数据的颜色
* @property {Color} DataColor "0xff03bcb9"
*/
SetDataColor:function (strColor) {
},
/**
* 获取中间数据的颜色
* @return {String}
*/
GetDataColor:function () {
},
/**
* 中间数据粗细
* @param {String} strFontWeight 中间数据粗细
* @property {Combo} DataFontWeight ["normal","bold","bolder","lighter"]
*/
SetDataFontWeight:function (strFontWeight) {
},
/**
* 获取中间数据粗细
* @return {String}
*/
GetDataFontWeight:function () {
},
/**
* 中间数据大小
* @param {Number} nFontSize 中间数据大小
* @property {Number} DataFontSize 30
*/
SetDataFontSize:function (nFontSize) {
},
/**
* 获取中间数据大小
* @return {Number}
*/
GetDataFontSize:function () {
},
/**
* 中间数据字体
* @param {String} strFontFamily 中间数据字体
* @property {String} DataFontFamily "sans-serif"
*/
SetDataFontFamily:function (strFontFamily) {
},
/**
* 获取中间数据字体
* @return {String}
*/
GetDataFontFamily:function () {
},
/**
* 修改中间数据上下间距
* @param {Number} nFontHeight 中间数据高度
* @property {Number} DataFontHeight 30
*/
SetDataFontHeight:function (nFontHeight) {
},
/**
* 获取中间数据高度
* @return {Number}
*/
GetDataFontHeight:function () {
},
/**
* 中间数据单位大小
* @param {Number} nFontSize 中间数据单位大小
* @property {Number} DataUnitFontSize 20
*/
SetDataUnitFontSize:function (nFontSize) {
},
/**
* 获取中间数据单位大小
* @return {Number}
*/
GetDataUnitFontSize:function () {
},
/**
* 中间数据单位的颜色
* @param {String} strColor 中间数据单位的颜色
* @property {Color} DataUnitColor "0xff03bcb9"
*/
SetDataUnitColor:function (strColor) {
},
/**
* 获取中间数据单位的颜色
* @return {String}
*/
GetDataUnitColor:function () {
},
/**
* 中间数据单位字体
* @param {String} strFontFamily 中间数据单位字体
* @property {String} DataUnitFontFamily "sans-serif"
*/
SetDataUnitFontFamily:function (strFontFamily) {
},
/**
* 获取中间数据单位字体
* @return {String}
*/
GetDataUnitFontFamily:function () {
},
/**
* 中间数据单位粗细
* @param {String} strFontWeight 中间数据单位粗细
* @property {Combo} DataUnitFontWeight ["normal","bold","bolder","lighter"]
*/
SetDataUnitFontWeight:function (strFontWeight) {
},
/**
* 获取中间数据单位粗细
* @return {String}
*/
GetDataUnitFontWeight:function () {
},
/**
* 中间数据单位垂直距离
* @param {Number} nPaddingBottom 中间数据单位垂直距离
* @property {Number} DataUnitPadding 10
*/
SetDataUnitPadding:function (nPaddingBottom) {
},
/**
* 获取中间数据单位垂直距离
* @return {Number}
*/
GetDataUnitPadding:function () {
},
/**
* 修改数据单位
* @param {String} strDataUnit 数据单位
* @property {String} DataUnit "GB"
*/
SetDataUnit:function (strDataUnit) {
},
/**
* 获取数据单位
* @return {String}
*/
GetDataUnit:function () {
},
/**
* 数据范围
* @param {Float} fCurValue 当前值
* @param {Float} fTotal 总值
*/
SetData:function (fCurValue,fTotal) {
},
/**
* 最大值
* @param {Float} fTotal 总值
* @property {Float} MaxData 120
*/
SetMaxData:function (fTotal) {
},
/**
* 当前值
* @param {Float} fCurValue 当前值
* @property {Float} CurData 52
*/
SetCurData:function (fCurValue) {
},
/**
* 修改进度条绘制方向
* @param {Boolean} bClockwise
* @property {Boolean} Clockwise false
*/
SetClockwise:function (bClockwise) {
},
/**
* 获取进度条绘制方向
* @return {Boolean}
*/
IsClockwise:function () {
},
}