ProgressMonitor instead.@Deprecated public interface ProgressMonitor extends Serializable
ProgressMonitor tracks the current progress of a longer lasting task.| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Deprecated.
Get the current progress message.
|
Integer |
getProgress()
Deprecated.
Retrieve the current progress percentage.
|
ProgressStatus |
getProgressStatus()
Deprecated.
Get the current progress status.
|
int |
getRangeEnd()
Deprecated.
Get the upper bound of the current range.
|
int |
getRangeStart()
Deprecated.
Get the lower bound of the current range.
|
boolean |
isDone()
Deprecated.
Flag to denote that the task has been done.
|
void |
setDone(boolean done)
Deprecated.
|
void |
setMessage(String msg)
Deprecated.
Set the current progress message.
|
void |
setProgress(int percent)
Deprecated.
Set the current progress percentage.
|
void |
setRange(int start,
int end)
Deprecated.
Specify which range we are currently working on.
|
Integer getProgress()
void setProgress(int percent)
String getMessage()
void setMessage(String msg)
void setRange(int start,
int end)
ProgressMonitor is shared among a larger set of tasks so each subtask can operate on
a specific range. For example if the current range if from 0 to 50 and the progress is set to
50 the overall progress that can be retrieved by getProgress is 25.start - The lower bound of the range.end - The upper bound of the range.int getRangeStart()
int getRangeEnd()
ProgressStatus getProgressStatus()
boolean isDone()
void setDone(boolean done)
Copyright © 2012. All Rights Reserved.