/**
* @constructor
*/
function XUICarousel() {
}
XUICarousel.prototype = {
//事件
/**
* 删除对比索引派发
* @eventname XUI_CAROUSEL_ITEMSELECT
* @eventid 0x0000000001
*/
/**
* 多选中的派发
* @eventname XUI_CAROUSELCHECKBOX_ITEMDCHECK
* @eventid 0x0000000002
*/
/**
* 取消选中派发
* @eventname XUI_CAROUSELCHECKBOX_ITEMDCANCEL
* @eventid 0x0000000003
*/
/**
* 点击添加派发
* @eventname XUI_CAROUSEL_ITEMADD
* @eventid 0x0000000004
*/
/**
* 单选的派发
* @eventname XUI_CAROUSELCHECKBOX_SINGLESELECT
* @eventid 0x0000000005
*/
//接口
/**
* 清除所有
*/
RemoveAll:function () {
},
/**
* 添加数据
* @param {String} strLabel 名称
* @param {ImageProp} strPic 图片路径
* @param {Number} Uuid 传入id
* @param {Boolean} bAdd true为可添加false为不可添加
* @param {Boolean} bCheckBox true为可多选false为不可多选
*/
AddItem:function (strLabel,strPic,Uuid,bAdd,bCheckBox) {
},
/**
* 按索引设置为可选
* @param {Number} nIndex 索引从0开始
* @param {Boolean} bCho true为可多选false为不可多选
* @property {Collection} bMulChoiceByIndex [-1,true]
*/
SetMulChoiceByIndex:function (nIndex,bCho) {
},
/**
* 按索引是否为可选
* @param {Number} nIndex 索引从0开始
* @return {Boolean}
*/
IsMulChoiceByIndex:function (nIndex) {
},
/**
* 按索引设置为添加
* @param {Number} nIndex 索引从0开始
* @param {Boolean} bAdd true为可添加false为不可添加
* @property {Collection} bAddByIndex [-1,true]
*/
SetAddByIndex:function (nIndex,bAdd) {
},
/**
* 按索引是否为添加
* @param {Number} nIndex 索引从0开始
* @return {Boolean}
*/
IsAddByIndex:function (nIndex) {
},
/**
* 按索设置名称
* @param {Number} nIndex 索引从0开始
* @param {String} strLabel 名称
* @property {Collection} LabelByIndex [-1,""]
*/
SetLabelByIndex:function (nIndex,strLabel) {
},
/**
* 按索引获取名称
* @param {Number} nIndex 索引从0开始
* @return {String}
*/
GetLabelByIndex:function (nIndex) {
},
/**
* 按索引设置背景图片
* @param {Number} nIndex 索引从0开始
* @param {ImageProp} strPic 图片路径
*/
SetPicPath:function (nIndex,strPic) {
},
/**
* 按索引修改Id
* @param {Number} nIndex 索引从0开始
* @param {Number} Uuid
*/
SetIdByIndex:function (nIndex,Uuid) {
},
/**
* 按索引获取Id
* @param {Number} nIndex 索引从0开始
* @return {Number}
*/
GetIdByIndex:function (nIndex) {
},
/**
* 根据Id获取索引
* @param {Number} Uuid
* @return {Number}
*/
GetIndexById:function (Uuid) {
},
/**
* 按索引修改一项
* @param {Number} nIndex 索引从0开始
* @param {String} strLabel 名称
* @param {ImageProp} strPic 图片路径
* @param {Number} Uuid 传入Id
* @param {Boolean} bAdd true为可添加false为不可添加
* @param {Boolean} bCheckBox true为可多选false为不可多选
*/
SetItemByIndex:function (nIndex,strLabel,strPic,Uuid,bAdd,bCheckBox) {
},
/**
* 设置所有为多选
* @param {Boolean} bCho true为可多选false为不可多选
*/
SetAllMulChoice:function (bCho) {
},
/**
* 设置所有为可添加
* @param {Boolean} bAdd true为可添加false为不可添加
*/
SetAllAdd:function (bAdd) {
},
/**
* 按索引删除
* @param {Number} nIndex
*/
RemoveByIndex:function (nIndex) {
},
/**
* 设置开启多选
* @param {Boolean} bChoice
*/
SetMultiSelect:function (bChoice) {
},
/**
* 根据Id设置选中
* @param {Number} Uuid
*/
SetSelectById:function (Uuid) {
},
/**
* 选中获取Id
* @return {Number}
*/
GetSelectUuid:function () {
},
/**K)
* 按索引设置选中
* @param {Number} nIndex 索引从零开始
* @property {Number} SelectItemIndex -1
*/
SetSelectByIndex:function (nIndex) {
},
/**
* 选中获取索引
* @return {Number}
*/
GetSelectIndex:function () {
},
}