public interface TaskMonitor
Tasks to modify its user interface.| Modifier and Type | Method and Description |
|---|---|
void |
setProgress(double progress)
Sets the progress completed by the
Task. |
void |
setStatusMessage(String statusMessage)
Sets the status message that describes what a
Task is currently doing. |
void |
setTitle(String title)
Sets the title of the
Task. |
void setTitle(String title)
Task.
The title is a succinct description of the Task's
purpose. This method should only be called once and at the beginning
of the run method.title - Succinct description of the Task's purpose.void setProgress(double progress)
Task.progress - Usually a value between 0.0 and 1.0.
A negative value is used to specify an indefinite progress bar.void setStatusMessage(String statusMessage)
Task is currently doing.
This method can be called throughout the course of the run method.statusMessage - String that describe what a Task is currently doing.Copyright 2011 Cytoscape Consortium. All rights reserved.