|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnu.zoom.gal.progress.desktop.ProgressImpl
public class ProgressImpl
An implementation of the Progress interface. Displays progress in the zoom.nu desktop status bar.
| Nested Class Summary | |
|---|---|
class |
ProgressImpl.TaskID
|
| Constructor Summary | |
|---|---|
ProgressImpl(nu.zoom.swing.desktop.Workbench workbench)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProgressImpl(nu.zoom.swing.desktop.Workbench workbench)
| Method Detail |
|---|
public Progress.TaskID createTask()
Progress
createTask in interface Progresspublic void deleteTask(Progress.TaskID taskID)
Progress
deleteTask in interface ProgresstaskID - The identification of the task. May not be null.public void setIndeterminate(Progress.TaskID taskID)
Progress
setIndeterminate in interface ProgresstaskID - The identification of the task. May not be null. If the taskID
is unknown or deleted this method does nothing.public void setMaximum(Progress.TaskID taskID)
Progress
setMaximum in interface ProgresstaskID - The identification of the task. May not be null. If the taskID
is unknown or deleted this method does nothing.public void setValue(Progress.TaskID taskID)
Progress
setValue in interface ProgresstaskID - The identification of the task. May not be null. If the taskID
is unknown or deleted this method does nothing.
public void setMessage(Progress.TaskID taskID,
CharSequence message)
Progress
setMessage in interface ProgresstaskID - 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 | |||||||||