/**
* @constructor
*/
function XUIMissionList() {
}
XUIMissionList.prototype = {
//事件
/**
* 编辑
* @eventname XUI_MISSIONLIST_EDIT
* @eventid 0x0000000002
*/
/**
* 删除
* @eventname XUI_MISSIONLIST_DELETE
* @eventid 0x0000000003
*/
/**
* 标签
* @eventname XUI_MISSIONLIST_TAG
* @eventid 0x0000000004
*/
/**
* 查看
* @eventname XUI_MISSIONLIST_VIEW
* @eventid 0x0000000005
*/
//接口
/**
* 设置任务名称样式
* @param {Number} nSize 字体大小
* @param {String} strColor 颜色
* @property {Collection} JobStyle [16,"0xffffffff"]
*/
SetJobStyle:function (nSize,strColor) {
},
/**
* 设置执行人样式
* @param {Number} nSize 字体大小
* @param {String} strColor 颜色
* @property {Collection} NameStyle [14,"0xffb4b4c0"]
*/
SetNameStyle:function (nSize,strColor) {
},
/**
* 设置时间样式
* @param {Number} nSize 字体大小
* @param {String} strColor 颜色
* @property {Collection} TimeStyle [14,"0xffb4b4c0"]
*/
SetTimeStyle:function (nSize,strColor) {
},
/**
* 设置内容样式
* @param {Number} nSize 字体大小
* @param {String} strColor 颜色
* @property {Collection} ContentStyle [16,"0xffb4b4c0"]
*/
SetContentStyle:function (nSize,strColor) {
},
/**
* 设置标签样式
* @param {Number} nSize 字体大小
* @param {String} strColor 颜色
* @property {Collection} LabelStyle [16,"0xffffffff"]
*/
SetLabelStyle:function (nSize,strColor) {
},
/**
* 设置下拉表名称样式
* @param {Number} nSize 字体大小
* @param {String} strColor 颜色
* @property {Collection} ChildNameStyle [16,"0xffb4b4c0"]
*/
SetChildNameStyle:function (nSize,strColor) {
},
/**
* 设置下拉表内容样式
* @param {Number} nSize 字体大小
* @param {String} strColor 颜色
* @property {Collection} ChildContentStyle [16,"0xffb4b4c0"]
*/
SetChildContentStyle:function (nSize,strColor) {
},
/**
* 添加组
* @param {String} strJob 工作
* @param {String} strName 姓名
* @param {String} strStartTime 开始时间
* @param {String} strEndTime 结束时间
* @param {String} strText 工作内容
* @param {Number} nUserID
* @param {Boolean} bEdit
*/
AddGroup:function (strJob,strName,strStartTime,strEndTime,strText,nUserID,bEdit) {
},
/**
* 获取组个数
* @return {Number}
*/
GetMissionCount:function () {
},
/**
* 添加标签
* @param {Number} nIndex 索引
* @param {String} strLabel 标签
* @property {Collection} Label [0,"30星"]
*/
AddTag:function (nIndex,strLabel) {
},
/**
* 添加子列表
* @param {Number} nIndex 索引
* @param {String} strName 名称
* @param {String} strContent 内容
* @param {Number} nUserID
*/
AddChildList:function (nIndex,strName,strContent,nUserID) {
},
/**
* 删除全部
*/
RemoveAll:function () {
},
/**
* 删除一组
* @param {Number} nIndex 索引
* @return {Boolean}
*/
RemoveGroup:function (nIndex) {
},
/**
* 按名称检索
* @param {String} strText
*/
SearchByName:function (strText) {
},
/**
* 按标签检索
* @param {Array} arrLabel
*/
SearchByLabel:function (arrLabel) {
},
/**
* 设置所有为查看
* @param {Boolean} bEdit
*/
SetAllView:function (bEdit) {
},
/**
* 根据索引设置为查看
* @param {Number} nIndex 索引从0开始
* @param {Boolean} bEdit
*/
SetViewByIndex:function (nIndex,bEdit) {
},
}