/**
* @constructor
*/
function XUIVersionList() {
}
XUIVersionList.prototype = {
//事件
/**
* 导出列表项派发事件
* @eventname XUI_VERSIONLIST_ITEMEXPORT
* @eventid 0x0000000001
*/
/**
* 删除列表项派发事件
* @eventname XUI_VERSIONLIST_ITEMDELETE
* @eventid 0x0000000002
*/
//接口
/**
* 添加一项
* @param {String} strVersion 版本号
* @param {String} strText 版本说明
* @param {String} strTime 日期
* @param {Number} nUserID ID
*/
AddItem:function (strVersion,strText,strTime,nUserID) {
},
/**
* 删除列表所有
*/
RemoveAll:function () {
},
/**
* 按索引删除一项
* @param {Number} nIndex 索引从0开始
* @property {Number} removeIndex -1
*/
RemoveByIndex:function (nIndex) {
},
/**
* 按索引修改版本
* @param {Number} nIndex 索引从0开始
* @param {String} strVer 版本名称
* @property {Collection} SetVersion [-1,""]
*/
SetVersionByIndex:function (nIndex,strVer) {
},
/**
* 按索引修改时间
* @param {Number} nIndex 索引从0开始
* @param {String} strTime 时间内容
* @property {Collection} setimeByIndex [-1,""]
*/
SetTimeByIndex:function (nIndex,strTime) {
},
/**
* 设置版本图标
* @param {ImageProp} strImage 添加icon路径
* @property {String} VersionIcon "Project_NUODT_GISSIM/XUIVersionList/image/banben.png"
*/
SetVersionIcon:function (strImage) {
},
/**
* 设置导出图标
* @param {ImageProp} strImage 添加icon路径
* @property {String} ExportIcon "Project_NUODT_GISSIM/XUIVersionList/image/icon_daochu.png"
*/
SetExportIcon:function (strImage) {
},
/**
* 设置删除图标
* @param {ImageProp} strImage 添加icon路径
* @property {String} DeleteIcon "Project_NUODT_GISSIM/XUIVersionList/image/icon_shanchu.png"
*/
SetDeleteIcon:function (strImage) {
},
/**
* 根据userid获取索引
* @param {Number} nUserID userid
* @return {Number}
*/
GetIndexByUserID:function (nUserID) {
},
}