/**
* @constructor
*/
function XUITableList() {
}

XUITableList.prototype = {
    //事件
    /**
     * 左键点击事件
     * @eventname XUI_STATE_CLICK
     * @eventid 0x00007001
     */

    //接口
    /**
     * 获取当前选中节点下标
     * @return {Number} 
     */
    GetSelectItemText:function () {
    },

    /**
     * 设置节点为初始化状态
     * @param {Number} nID
     */
    SetInitValue:function (nID) {
    },

    /**
     * 清空节点
     */
    RemoveAllItem:function () {
    },

    /**
     * 添加节点
     * @param {String} style 样式
     * @param {String} strLabel1 标签1
     * @param {String} strLabel2 标签2
     * @param {String} strLabel3 标签3
     * @param {Boolean} bmainIconStatue 是否正常
     * @param {String} showLabel 编号
     * @param {Boolean} bShow 编号是否显示
     * @property {Collection} item ["通信ip电话","K1+50","上入口","设备间",false,"2365",false]
     */
    AddItem:function (style,strLabel1,strLabel2,strLabel3,bmainIconStatue,showLabel,bShow) {
    },

    /**
     * 设置节点
     * @param {Number} nIndex 索引
     * @param {String} style 样式
     * @param {String} strLabel1 标签1
     * @param {String} strLabel2 标签2
     * @param {String} strLabel3 标签3
     * @param {Boolean} bmainIconStatue 是否正常
     * @param {String} showLabel 编号
     * @param {Boolean} bShow 编号是否显示
     * @property {Collection} itemData [0,"通信ip电话","K1+50","上入口","设备间",false,"2365",false]
     */
    SetItem:function (nIndex,style,strLabel1,strLabel2,strLabel3,bmainIconStatue,showLabel,bShow) {
    },

    /**
     * 删除节点
     * @param {Number} nIndex 节点索引
     * @property {Number} Index 0
     */
    DeleteItem:function (nIndex) {
    },

    /**
     * 根据索引设置icon
     * @param {Number} nIndex 索引从零开始
     * @param {Number} nType 报警类型
     * @param {Boolean} bWarning 是否报警
     */
    SetIconByIndex:function (nIndex,nType,bWarning) {
    },

    /**
     * 按名称检索
     * @param {String} strText
     */
    SearchByName:function (strText) {
    },

    /**
     * 设置选中全开
     */
    SetSelect:function () {
    },

    /**
     * 设置全开
     */
    SetOpenAll:function () {
    },

    /**
     * 设置全关
     */
    SetCloseAll:function () {
    },

    /**
     * 设置是否全选
     * @param {Boolean} bSelectall 是否全选
     */
    SetSelectall:function (bSelectall) {
    },

    /**
     * 设置应急通讯节点
     * @param {Number} nIndex 索引
     * @param {String} style 样式
     * @param {String} strLabel1 标签1
     * @param {String} strLabel2 标签2
     * @param {String} strLabel3 标签3
     * @param {Number} nState 0异常1正常2待机
     * @param {String} showLabel 编号
     */
    SetIpPhoneItem:function (nIndex,style,strLabel1,strLabel2,strLabel3,nState,showLabel) {
    },

    /**
     * 设置应急通讯节点状态
     * @param {Number} nIndex 索引
     * @param {String} strRoute 图片路径
     */
    SetIpPhoneState:function (nIndex,strRoute) {
    },

    /**
     * 添加应急通讯节点
     * @param {String} style 样式
     * @param {String} strLabel1 标签1
     * @param {String} strLabel2 标签2
     * @param {String} strLabel3 标签3
     * @param {String} strRoute 图片路径
     * @param {String} showLabel 编号
     */
    AddIpPhoneItem:function (style,strLabel1,strLabel2,strLabel3,strRoute,showLabel) {
    },

}