new XUIVersionList()
Methods
-
AddItem(strVersion, strText, strTime, nUserID)
-
添加一项
Parameters:
Name Type Description strVersion
String 版本号 strText
String 版本说明 strTime
String 日期 nUserID
Number ID -
GetIndexByUserID(nUserID) → {Number}
-
根据userid获取索引
Parameters:
Name Type Description nUserID
Number userid Returns:
Number -
RemoveAll()
-
删除列表所有
-
RemoveByIndex(nIndex)
-
按索引删除一项
Parameters:
Name Type Description nIndex
Number 索引从0开始 Properties:
Name Type Description removeIndex
Number 1 -
SetDeleteIcon(strImage)
-
设置删除图标
Parameters:
Name Type Description strImage
ImageProp 添加icon路径 Properties:
Name Type Description DeleteIcon
String "Project_NUODT_GISSIM/XUIVersionList/image/icon_shanchu.png" -
SetExportIcon(strImage)
-
设置导出图标
Parameters:
Name Type Description strImage
ImageProp 添加icon路径 Properties:
Name Type Description ExportIcon
String "Project_NUODT_GISSIM/XUIVersionList/image/icon_daochu.png" -
SetTimeByIndex(nIndex, strTime)
-
按索引修改时间
Parameters:
Name Type Description nIndex
Number 索引从0开始 strTime
String 时间内容 Properties:
Name Type Description setimeByIndex
Collection [-1,""] -
SetVersionByIndex(nIndex, strVer)
-
按索引修改版本
Parameters:
Name Type Description nIndex
Number 索引从0开始 strVer
String 版本名称 Properties:
Name Type Description SetVersion
Collection [-1,""] -
SetVersionIcon(strImage)
-
设置版本图标
Parameters:
Name Type Description strImage
ImageProp 添加icon路径 Properties:
Name Type Description VersionIcon
String "Project_NUODT_GISSIM/XUIVersionList/image/banben.png"