public class ProcessSteppedEvent extends EventObject
构造器和说明 |
---|
ProcessSteppedEvent(Object source,
String strTitle,
String strTotalPercentMsg,
int nPercent,
String strSubPercentMsg,
int nSubPercent,
boolean bCancel)
构造对象
|
限定符和类型 | 方法和说明 |
---|---|
int |
getSubPercent()
获取子进度
|
String |
getSubPercentMsg()
获取子进度信息
|
String |
getTitle()
获取标题
|
int |
getTotalPercent()
获取总进度
|
String |
getTotalPercentMsg()
获取总进度信息
|
boolean |
isCancel()
获取是否取消
|
void |
setCancel(boolean bCancel)
设置是否取消
|
void |
setmTotalPercent(int mTotalPercent)
设置总进度(接口废弃,请调用setTotalPercent())
|
void |
setSubPercent(int mSubPercent)
设置子进度
|
void |
setSubPercentMsg(String mSubPercentMsg)
设置子进度信息
|
void |
setTitle(String mTitle)
设置标题
|
void |
setTotalPercent(int mTotalPercent)
设置总进度
|
void |
setTotalPercentMsg(String mTotalPercentMsg)
设置总进度信息
|
getSource, toString
public ProcessSteppedEvent(Object source, String strTitle, String strTotalPercentMsg, int nPercent, String strSubPercentMsg, int nSubPercent, boolean bCancel)
source
- 对象strTitle
- 标题strTotalPercentMsg
- 总进度信息nPercent
- 总进度strSubPercentMsg
- 子进度信息nSubPercent
- 子进度bCancel
- 是否取消public String getTitle()
public void setTitle(String mTitle)
mTitle
- public int getTotalPercent()
public void setmTotalPercent(int mTotalPercent)
mTotalPercent
- 总进度public void setTotalPercent(int mTotalPercent)
mTotalPercent
- 总进度public int getSubPercent()
public void setSubPercent(int mSubPercent)
mSubPercent
- 子进度public String getSubPercentMsg()
public void setSubPercentMsg(String mSubPercentMsg)
mSubPercentMsg
- 子进度信息public boolean isCancel()
public void setCancel(boolean bCancel)
bCancel
- 是否取消public String getTotalPercentMsg()
public void setTotalPercentMsg(String mTotalPercentMsg)
mTotalPercentMsg
- Copyright © 2021–2024 SuperMap. All rights reserved.