public interface IUpdateProgress
限定符和类型 | 方法和说明 |
---|---|
boolean |
isCancel()
获取操作是否已取消
|
void |
setCancel(boolean isCancel)
设置是否取消操作
|
java.lang.Boolean |
syncFinished()
阻塞当前线程直到完成
|
void |
updateProgress(int percent, int totalPercent, java.lang.String currentMessage, java.lang.String totalMessage, java.lang.String remainTime, int currentTask, int count)
用该构造代替所有双进度条的实现-yuanR2018.3.14
|
void |
updateProgress(int percent, java.lang.String remainTime, java.lang.String message)
更新进度信息 用该构造代替所有单进度条的实现-yuanR2018.3.15
|
boolean isCancel()
void setCancel(boolean isCancel)
isCancel
-void updateProgress(int percent, java.lang.String remainTime, java.lang.String message) throws java.util.concurrent.CancellationException
percent
- 进度remainTime
- 剩余时间message
- 进度信息java.util.concurrent.CancellationException
void updateProgress(int percent, int totalPercent, java.lang.String currentMessage, java.lang.String totalMessage, java.lang.String remainTime, int currentTask, int count) throws java.util.concurrent.CancellationException
percent
-totalPercent
-currentMessage
-totalMessage
-remainTime
-currentTask
-count
-java.util.concurrent.CancellationException
java.lang.Boolean syncFinished()