|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProgressTrackable
An additional interface an Algorithm
can implement that allows for
monitoring of progress, process cancellation, and current work description.
This was not included in the Algorithm
interface because many
of the algorithms will not be able to support these features (especially
the algorithms that are wrapping executable programs). Even algorithms
that do implement this interface do not have to provide all of the features.
For instance, an algorithm may only support progress notification and not
cancellation.
Method Summary | |
---|---|
ProgressMonitor |
getProgressMonitor()
Returns the progress monitor currently in use, or null if
no monitor has been set |
void |
setProgressMonitor(ProgressMonitor monitor)
Sets the progress monitor this algorithm is to use. |
Method Detail |
---|
void setProgressMonitor(ProgressMonitor monitor)
monitor
- The monitor the algorithm is to useProgressMonitor getProgressMonitor()
null
if
no monitor has been set
null
if there
isn't one set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |