|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sunflow.system.ui.SilentInterface
public class SilentInterface
Null implementation of a user interface. This is usefull to silence the output.
| Constructor Summary | |
|---|---|
SilentInterface()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SilentInterface()
| Method Detail |
|---|
public void print(UI.Module m,
UI.PrintLevel level,
java.lang.String s)
UserInterface
print in interface UserInterfacem - module the message came fromlevel - seriousness of the messages - string to display
public void taskStart(java.lang.String s,
int min,
int max)
UserInterface
taskStart in interface UserInterfaces - desriptive stringmin - minimum value of the taskmax - maximum value of the taskpublic void taskUpdate(int current)
UserInterface
taskUpdate in interface UserInterfacecurrent - current value of the task in progress.public void taskStop()
UserInterface
taskStop in interface UserInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||