new XUITableList()
Methods
-
AddIpPhoneItem(style, strLabel1, strLabel2, strLabel3, strRoute, showLabel)
-
添加应急通讯节点
Parameters:
Name Type Description style
String 样式 strLabel1
String 标签1 strLabel2
String 标签2 strLabel3
String 标签3 strRoute
String 图片路径 showLabel
String 编号 -
AddItem(style, strLabel1, strLabel2, strLabel3, bmainIconStatue, showLabel, bShow)
-
添加节点
Parameters:
Name Type Description style
String 样式 strLabel1
String 标签1 strLabel2
String 标签2 strLabel3
String 标签3 bmainIconStatue
Boolean 是否正常 showLabel
String 编号 bShow
Boolean 编号是否显示 Properties:
Name Type Description item
Collection ["通信ip电话","K1+50","上入口","设备间",false,"2365",false] -
DeleteItem(nIndex)
-
删除节点
Parameters:
Name Type Description nIndex
Number 节点索引 Properties:
Name Type Description Index
Number 0 -
GetSelectItemText() → {Number}
-
获取当前选中节点下标
Returns:
Number -
RemoveAllItem()
-
清空节点
-
SearchByName(strText)
-
按名称检索
Parameters:
Name Type Description strText
String -
SetCloseAll()
-
设置全关
-
SetIconByIndex(nIndex, nType, bWarning)
-
根据索引设置icon
Parameters:
Name Type Description nIndex
Number 索引从零开始 nType
Number 报警类型 bWarning
Boolean 是否报警 -
SetInitValue(nID)
-
设置节点为初始化状态
Parameters:
Name Type Description nID
Number -
SetIpPhoneItem(nIndex, style, strLabel1, strLabel2, strLabel3, nState, showLabel)
-
设置应急通讯节点
Parameters:
Name Type Description nIndex
Number 索引 style
String 样式 strLabel1
String 标签1 strLabel2
String 标签2 strLabel3
String 标签3 nState
Number 0异常1正常2待机 showLabel
String 编号 -
SetIpPhoneState(nIndex, strRoute)
-
设置应急通讯节点状态
Parameters:
Name Type Description nIndex
Number 索引 strRoute
String 图片路径 -
SetItem(nIndex, style, strLabel1, strLabel2, strLabel3, bmainIconStatue, showLabel, bShow)
-
设置节点
Parameters:
Name Type Description nIndex
Number 索引 style
String 样式 strLabel1
String 标签1 strLabel2
String 标签2 strLabel3
String 标签3 bmainIconStatue
Boolean 是否正常 showLabel
String 编号 bShow
Boolean 编号是否显示 Properties:
Name Type Description itemData
Collection [0,"通信ip电话","K1+50","上入口","设备间",false,"2365",false] -
SetOpenAll()
-
设置全开
-
SetSelect()
-
设置选中全开
-
SetSelectall(bSelectall)
-
设置是否全选
Parameters:
Name Type Description bSelectall
Boolean 是否全选