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 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​(String message,
                       Throwable e)
        Parameters:
        e -
      • 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 -