Static singleton interface to a UserInterface object. This is set to a text
console by default.
printDetailed
public static final void printDetailed(UI.Module m,
String s,
Object... args)
printError
public static final void printError(UI.Module m,
String s,
Object... args)
printInfo
public static final void printInfo(UI.Module m,
String s,
Object... args)
printWarning
public static final void printWarning(UI.Module m,
String s,
Object... args)
set
public static final void set(UserInterface ui)
Sets the active user interface implementation. Passing null
silences printing completely.
ui
- object to recieve all user interface calls
taskCancel
public static final void taskCancel()
Cancel the currently active task. This forces the application to abort as
soon as possible.
taskCanceled
public static final boolean taskCanceled()
Check to see if the current task should be aborted.
true
if the current task should be stopped,
false
otherwise
taskStart
public static final void taskStart(String s,
int min,
int max)
taskStop
public static final void taskStop()
taskUpdate
public static final void taskUpdate(int current)
verbosity
public static final void verbosity(int verbosity)