View Javadoc

    1   package baseCode.util;
    2
    3   /***
    4    * Intended use is to display 'status' information or other messages to users in a non-disruptive fashion (though the
    5    * actual use is up to the implementer). Copyright (c) 2004 Columbia University
    6    *
    7    * @author Paul Pavlidis
    8    * @version $Id: StatusViewer.java,v 1.3 2004/07/27 03:18:58 pavlidis Exp $
    9    */
    10  public interface StatusViewer {
    11
    12     /***
    13      * Print the status to the location appropriate for this application.
    14      *
    15      * @param s
    16      */
    17     public abstract void setStatus( String s );
    18
    19     /***
    20      * Print an error status messge.
    21      *
    22      * @param s
    23      */
    24     public abstract void setError( String s );
    25
    26     /***
    27      * Clear the status dislay. Implementers that do not write to GUI elements probably don't need to do anything.
    28      */
    29     public abstract void clear();
    30  }