Package ubic.basecode.util
Interface StatusViewer
-
- All Known Implementing Classes:
StatusDebugLogger
,StatusStderr
public interface StatusViewer
Intended use is to display 'status' information or other messages to users in a non-disruptive fashion (though the actual use is up to the implementer). Copyright (c) 2004 University of British Columbia- Author:
- Paul Pavlidis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clear()
Clear the status display.void
showError(String s)
Print an error status messge.void
showError(String message, Throwable e)
void
showError(Throwable e)
void
showProgress(String message)
void
showStatus(String s)
Print the status to the location appropriate for this application.void
showStatus(String s, boolean callSuper)
void
showWarning(String s)
-
-
-
Method Detail
-
clear
void clear()
Clear the status display. Implementers that do not write to GUI elements probably don't need to do anything.
-
showError
void showError(String s)
Print an error status messge.- Parameters:
s
-
-
showError
void showError(Throwable e)
- Parameters:
e
-
-
showProgress
void showProgress(String message)
-
showStatus
void showStatus(String s)
Print the status to the location appropriate for this application.- Parameters:
s
-
-
showStatus
void showStatus(String s, boolean callSuper)
- Parameters:
s
-callSuper
- set to false to suppress calling super.showStatus() (default is true)
-
showWarning
void showWarning(String s)
- Parameters:
s
-
-
-