com.usefullittlethings.saw.ui
Interface StartupUIIfc

All Known Implementing Classes:
CommandLineSearchUI, DefaultStartupUI

public interface StartupUIIfc

Interface describing the "start-up" user interface, known commonly as a splash screen, for use by the Search and Whatever core application.


Method Summary
 void done(java.lang.String msg)
          Disposes of this ui component, only to be used when application is completely loaded and splash screen will no longer be used.
 void fatal(java.lang.String msg)
          Displays a fatal error for the user.
 void message(java.lang.String msg)
          Displays the specified message in the startup window/splash screen.
 void show()
          Displays the splash screen.
 

Method Detail

message

public void message(java.lang.String msg)
Displays the specified message in the startup window/splash screen.

Parameters:
msg - A text message to display for the user

fatal

public void fatal(java.lang.String msg)
Displays a fatal error for the user. If there is a ui component running on the event dispatch thread, it will have to arrange to close itself, possibly by an OK button.

Parameters:
msg - A text message describing the error condition that aborted the application's load process

show

public void show()
Displays the splash screen.


done

public void done(java.lang.String msg)
Disposes of this ui component, only to be used when application is completely loaded and splash screen will no longer be used.