public interface UserInterface
Modifier and Type | Method and Description |
---|---|
void |
print(UI.Module m,
UI.PrintLevel level,
java.lang.String s)
Displays some information to the user from the specified module with the
specified print level.
|
void |
taskStart(java.lang.String s,
int min,
int max)
Prepare a progress bar representing a lengthy task.
|
void |
taskStop()
Closes the current progress bar to indicate the task is over
|
void |
taskUpdate(int current)
Updates the current progress bar to a value between the current min and
max.
|
void print(UI.Module m, UI.PrintLevel level, java.lang.String s)
m
- module the message came fromlevel
- seriousness of the messages
- string to displayvoid taskStart(java.lang.String s, int min, int max)
s
- desriptive stringmin
- minimum value of the taskmax
- maximum value of the taskvoid taskUpdate(int current)
current
- current value of the task in progress.void taskStop()