|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Progress
Used to show the user progress for background tasks. To use first create a taskID, then use the JProgress-like methods to indicate progress. When the task finishes please call the delete method.
| Nested Class Summary | |
|---|---|
static interface |
Progress.TaskID
|
| Method Summary | |
|---|---|
Progress.TaskID |
createTask()
Create a new task. |
void |
deleteTask(Progress.TaskID taskID)
The task is finished and no more progress will be reported on this task. |
void |
setIndeterminate(Progress.TaskID taskID)
Set the status of the task to be of indeterminate length. |
void |
setMaximum(Progress.TaskID taskID)
Set the maximum value that the progress of this task will reach. |
void |
setMessage(Progress.TaskID taskID,
CharSequence message)
Set an informational message explaining what the task is doing. |
void |
setValue(Progress.TaskID taskID)
Report progress of the given task. |
| Method Detail |
|---|
Progress.TaskID createTask()
void deleteTask(Progress.TaskID taskID)
taskID - The identification of the task. May not be null.void setIndeterminate(Progress.TaskID taskID)
taskID - The identification of the task. May not be null. If the taskID
is unknown or deleted this method does nothing.void setMaximum(Progress.TaskID taskID)
taskID - The identification of the task. May not be null. If the taskID
is unknown or deleted this method does nothing.void setValue(Progress.TaskID taskID)
taskID - The identification of the task. May not be null. If the taskID
is unknown or deleted this method does nothing.
void setMessage(Progress.TaskID taskID,
CharSequence message)
taskID - The identification of the task. May not be null. If the taskID
is unknown or deleted this method does nothing.message - The message to set. If null any previous message for the task
will be removed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||