/**
* @constructor
*/
function XUIHorProgressBar() {
}
XUIHorProgressBar.prototype = {
//接口
/**
* 设置进度条值
* @param {Number} nValue
* @property {Number} ProgressValue 50
*/
SetProgressValue:function (nValue) {
},
/**
* 获取进度条值
* @return {Number}
*/
GetProgressValue:function () {
},
/**
* 是否显示背景图
* @param {Boolean} bShow
* @property {Boolean} ShowProgressBgImg true
*/
SetShowProgressBgImg:function (bShow) {
},
/**
* 获取是否显示进度条背景图片
* @return {Boolean}
*/
IsShowProgressBgImg:function () {
},
/**
* 设置背景图片
* @param {ImageProp} strPath
* @property {ImageProp} ProgressBgImgPath "NUODT_JTFA/XUIHorProgressBar/images/loading_pro.png"
*/
SetProgressBgImage:function (strPath) {
},
/**
* 获取背景图片路径
* @return {String}
*/
GetProgressBgImage:function () {
},
/**
* 设置背景颜色
* @param {String} strColor
* @property {Color} ProgressBgColor ""
*/
SetProgressBgColor:function (strColor) {
},
/**
* 获取背景颜色
* @return {String}
*/
GetProgressBgColor:function () {
},
/**
* 是否显示icon图片
* @param {Boolean} bShow
* @property {Boolean} ShowProgressIconImg true
*/
SetShowIconImage:function (bShow) {
},
/**
* 获取是否显示icon图片
* @return {Boolean}
*/
IsShowIconImage:function () {
},
/**
* 进度条icon图片路径
* @param {ImageProp} strPath
* @property {ImageProp} ProgressIconImgPath "NUODT_JTFA/XUIHorProgressBar/images/loading_tank.gif"
*/
SetProgressIconImgPath:function (strPath) {
},
/**
* 设置图片大小
* @param {Number} nWidth 宽度
* @param {Number} nHeight 高度
* @property {Collection} ProgressIconImgSize [20.15, 30]
*/
SetIconSize:function (nWidth,nHeight) {
},
/**
* 设置图片竖直偏移量
* @param {Number} nPos
* @property {Number} ProgressIconImgVerPos 34
*/
SetIconVerPos:function (nPos) {
},
/**
* 设置图片自身横向偏移值
* @param {Number} nPos
* @property {Number} ProgressIconImgHorPos -54
*/
SetIconHorPos:function (nPos) {
},
/**
* 设置进度条的圆角半径
* @param {Number} nRadius
* @property {Number} BorderRadius 0
*/
SetBorderRadius:function (nRadius) {
},
/**
* 设置进度条的主颜色
* @param {String} strColor
* @property {Color} ProgressMainColor "0xff337AB7"
*/
SetProgressMainColor:function (strColor) {
},
/**
* 设置进度条的副颜色
* @param {String} strColor
* @property {Color} ProgressSubColor "0x10ffffff"
*/
SetProgressSubColor:function (strColor) {
},
/**
* 设置进度条颜色间隔
* @param {Number} nInter 间隔
* @property {Number} ProgressColorInterval 40
*/
SetProgressColorInterval:function (nInter) {
},
/**
* 设置进度条的渐变色
* @param {String} strColorStart 起始色
* @param {String} strColorEnd 结束色
* @property {Collection} ProgressGradualColor ["0x10ffffff","0x00000000"]
*/
SetProgressGradualColor:function (strColorStart,strColorEnd) {
},
/**
* 开启动画
* @param {Number} nTime 动画周期
*/
SetProgressAnimation:function (nTime) {
},
/**
* 进度条末端icon颜色
* @param {String} strColor 颜色
* @property {Color} ProgressEndIconColor "0x00000000"
*/
SetProgressEndIconColor:function (strColor) {
},
/**
* 进度条背景大小
* @param {String} strSize 大小
* @property {Combo} ProgressBgImgSize ["cover","100%","auto"]
*/
SetProgressBgImgSize:function (strSize) {
},
/**
* 设置进度条的高度
* @param {Number} nHight
* @property {Number} ProgressHeight 14
*/
SetProgressHeight:function (nHight) {
},
/**
* 设置进度条竖直偏移距离
* @param {Number} nPos
* @property {Number} VerPos 60
*/
SetProgressVerPos:function (nPos) {
},
/**
* 设置两边的间距
* @param {Number} nPadding
* @property {Number} Padding 7
*/
SetPadding:function (nPadding) {
},
/**
* 设置图片的间距
* @param {String} strTop 距上百分比
* @param {String} strRight 距右百分比
* @param {String} strBottom 距下百分比
* @param {String} strLeft 距左百分比
* @property {Collection} ImgPadding ["0.9%","0px","0.3%","5px"]
*/
SetImgPadding:function (strTop,strRight,strBottom,strLeft) {
},
/**
* 设置进度条自动播放
*/
SetAutoPlay:function () {
},
/**
* 清除进度条自动播放
*/
SetPlayStop:function () {
},
}