|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TaskMonitor
Used by Tasks to modify its user interface.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 - Must be between 0.0 and 1.0.
A value of 0.0 specifies 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.
|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||