public class SilentInterface extends java.lang.Object implements UserInterface
| Constructor and Description |
|---|
SilentInterface() |
| 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.
|
public void print(UI.Module m, UI.PrintLevel level, java.lang.String s)
UserInterfaceprint in interface UserInterfacem - module the message came fromlevel - seriousness of the messages - string to displaypublic void taskStart(java.lang.String s,
int min,
int max)
UserInterfacetaskStart in interface UserInterfaces - desriptive stringmin - minimum value of the taskmax - maximum value of the taskpublic void taskUpdate(int current)
UserInterfacetaskUpdate in interface UserInterfacecurrent - current value of the task in progress.public void taskStop()
UserInterfacetaskStop in interface UserInterface