Package ubic.basecode.util
Interface StatusViewer
-
- All Known Implementing Classes:
StatusDebugLogger,StatusStderr
public interface StatusViewerIntended 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 voidclear()Clear the status display.voidshowError(String s)Print an error status messge.voidshowError(String message, Throwable e)voidshowError(Throwable e)voidshowProgress(String message)voidshowStatus(String s)Print the status to the location appropriate for this application.voidshowStatus(String s, boolean callSuper)voidshowWarning(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-
-
-