XUIMissionList()

Methods

AddChildList(nIndex, strName, strContent, nUserID)

添加子列表
Parameters:
Name Type Description
nIndex Number 索引
strName String 名称
strContent String 内容
nUserID Number

AddGroup(strJob, strName, strStartTime, strEndTime, strText, nUserID, bEdit)

添加组
Parameters:
Name Type Description
strJob String 工作
strName String 姓名
strStartTime String 开始时间
strEndTime String 结束时间
strText String 工作内容
nUserID Number
bEdit Boolean

AddTag(nIndex, strLabel)

添加标签
Parameters:
Name Type Description
nIndex Number 索引
strLabel String 标签
Properties:
Name Type Description
Label Collection [0,"30星"]

GetMissionCount() → {Number}

获取组个数
Returns:
Number

RemoveAll()

删除全部

RemoveGroup(nIndex) → {Boolean}

删除一组
Parameters:
Name Type Description
nIndex Number 索引
Returns:
Boolean

SearchByLabel(arrLabel)

按标签检索
Parameters:
Name Type Description
arrLabel Array

SearchByName(strText)

按名称检索
Parameters:
Name Type Description
strText String

SetAllView(bEdit)

设置所有为查看
Parameters:
Name Type Description
bEdit Boolean

SetChildContentStyle(nSize, strColor)

设置下拉表内容样式
Parameters:
Name Type Description
nSize Number 字体大小
strColor String 颜色
Properties:
Name Type Description
ChildContentStyle Collection [16,"0xffb4b4c0"]

SetChildNameStyle(nSize, strColor)

设置下拉表名称样式
Parameters:
Name Type Description
nSize Number 字体大小
strColor String 颜色
Properties:
Name Type Description
ChildNameStyle Collection [16,"0xffb4b4c0"]

SetContentStyle(nSize, strColor)

设置内容样式
Parameters:
Name Type Description
nSize Number 字体大小
strColor String 颜色
Properties:
Name Type Description
ContentStyle Collection [16,"0xffb4b4c0"]

SetJobStyle(nSize, strColor)

设置任务名称样式
Parameters:
Name Type Description
nSize Number 字体大小
strColor String 颜色
Properties:
Name Type Description
JobStyle Collection [16,"0xffffffff"]

SetLabelStyle(nSize, strColor)

设置标签样式
Parameters:
Name Type Description
nSize Number 字体大小
strColor String 颜色
Properties:
Name Type Description
LabelStyle Collection [16,"0xffffffff"]

SetNameStyle(nSize, strColor)

设置执行人样式
Parameters:
Name Type Description
nSize Number 字体大小
strColor String 颜色
Properties:
Name Type Description
NameStyle Collection [14,"0xffb4b4c0"]

SetTimeStyle(nSize, strColor)

设置时间样式
Parameters:
Name Type Description
nSize Number 字体大小
strColor String 颜色
Properties:
Name Type Description
TimeStyle Collection [14,"0xffb4b4c0"]

SetViewByIndex(nIndex, bEdit)

根据索引设置为查看
Parameters:
Name Type Description
nIndex Number 索引从0开始
bEdit Boolean