All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dtai.util.ShowUser

java.lang.Object
   |
   +----dtai.util.ShowUser

public class ShowUser
extends Object
implements ShowUserHandler
ShowUser - this shows the user things like error and warning messages, etc. You are NOT supposed to create a "new" object of type ShowUser. Call it using static functions only. For example: ShowUser.error( excep, "There was a problem." ); ShowUser.status( "Loading data..." ); If you call ShowUser.setApplet( yourApplet ); it will use dialog windows to show the messages, and will use the Applet's status window for status.


Constructor Index

 o ShowUser()

Method Index

 o about(String, String)
shows an about message
 o closeDialog()
closeDialog
 o doHideAbout()
doHideAbout
 o doHideError()
doHideError
 o doHideInfo()
doHideInfo
 o doHideWarning()
doHideWarning
 o doResume()
resumes showing error and warning (etc.) dialogs
 o doSuspend()
suspends showing error and warning (etc.) dialogs
 o error(Throwable)
shows an error message
 o error(Throwable, String)
shows an error message
 o error(Throwable, String, String)
shows an error message
 o finishedWait()
shows a finish waiting message
 o getApplet()
gets an applet
 o getBaseFrame()
getBaseFrame
 o getDefaultApplet()
getDefaultApplet
 o hideAbout()
hideAbout
 o hideError()
hideError
 o hideInfo()
hideInfo
 o hideWarning()
hideWarning
 o info(String)
shows an info message
 o pleaseWait()
shows a please wait message
 o printThrowable(Throwable)
printThrowable
 o resume()
suspend
 o setApplet(Applet)
setApplet
 o setBaseFrame(Frame)
shows user the base frame
 o setDefaultStatus(String)
sets the default status
 o setOuterFrame(Frame)
setOuterFrame
 o setShowUserApplet(Applet)
shows the user an applet
 o setShowUserOuterFrame(Frame)
shows user the outer frame
 o setStatusHandler(StatusHandler)
shows the user an applet
 o showAbout(String, String)
shows an about message
 o showError(Throwable, String, String)
shows an error message
 o showFinishedWait()
shows a finished waiting message
 o showInfo(String)
shows an info message
 o showPleaseWait()
shows a please wait message
 o showStatus(String)
shows a status message
 o showWarning(String)
shows a warning message
 o status(String)
shows a status message
 o suspend()
suspend
 o warning(String)
shows a warning message

Constructors

 o ShowUser
 public ShowUser()

Methods

 o setDefaultStatus
 public static void setDefaultStatus(String message)
sets the default status

Parameters:
message - the message
 o error
 public static void error(Throwable t,
                          String message,
                          String helpTopic)
shows an error message

Parameters:
t - the error
message - the error message
helpTopic - the help topic
 o error
 public static void error(Throwable t,
                          String message)
shows an error message

Parameters:
t - the error
message - the error message
 o error
 public static void error(Throwable t)
shows an error message

Parameters:
t - the error
 o warning
 public static void warning(String message)
shows a warning message

Parameters:
message - the warning message
 o info
 public static void info(String message)
shows an info message

Parameters:
message - the info message
 o about
 public static void about(String what,
                          String message)
shows an about message

Parameters:
what - TBD
message - the about message
 o pleaseWait
 public static void pleaseWait()
shows a please wait message

 o finishedWait
 public static void finishedWait()
shows a finish waiting message

 o hideError
 public static void hideError()
hideError

 o hideWarning
 public static void hideWarning()
hideWarning

 o hideInfo
 public static void hideInfo()
hideInfo

 o hideAbout
 public static void hideAbout()
hideAbout

 o status
 public static void status(String message)
shows a status message

Parameters:
message - the status message
 o setStatusHandler
 public static void setStatusHandler(StatusHandler statusHandler)
shows the user an applet

Parameters:
applet - the applet to be shown
 o setShowUserApplet
 public void setShowUserApplet(Applet applet)
shows the user an applet

Parameters:
applet - the applet to be shown
 o setShowUserOuterFrame
 public void setShowUserOuterFrame(Frame frame)
shows user the outer frame

Parameters:
the - outer frame to be shown
 o setBaseFrame
 public static void setBaseFrame(Frame frame)
shows user the base frame

Parameters:
the - base frame to be shown
 o getBaseFrame
 public static Frame getBaseFrame()
getBaseFrame

Returns:
Frame
 o getApplet
 public static Applet getApplet()
gets an applet

Returns:
the applet
 o setApplet
 public static void setApplet(Applet applet)
setApplet

Parameters:
applet - the applet being set
 o suspend
 public static void suspend()
suspend

 o resume
 public static void resume()
suspend

 o setOuterFrame
 public static void setOuterFrame(Frame outerframe)
setOuterFrame

Parameters:
the - outer frame
 o getDefaultApplet
 public static final Applet getDefaultApplet()
getDefaultApplet

Returns:
Applet the default applet
 o closeDialog
 public static void closeDialog()
closeDialog

 o doSuspend
 public void doSuspend()
suspends showing error and warning (etc.) dialogs

 o doResume
 public void doResume()
resumes showing error and warning (etc.) dialogs

 o showError
 public void showError(Throwable t,
                       String message,
                       String helpTopic)
shows an error message

Parameters:
t - - TBD
message - - the error message
helpTopic - - the help topic
 o showWarning
 public void showWarning(String message)
shows a warning message

Parameters:
message - the warning message
 o showInfo
 public void showInfo(String message)
shows an info message

Parameters:
message - the info message
 o showAbout
 public void showAbout(String what,
                       String message)
shows an about message

Parameters:
what - TBD
message - the about message
 o doHideError
 public void doHideError()
doHideError

 o doHideWarning
 public void doHideWarning()
doHideWarning

 o doHideInfo
 public void doHideInfo()
doHideInfo

 o doHideAbout
 public void doHideAbout()
doHideAbout

 o showPleaseWait
 public void showPleaseWait()
shows a please wait message

 o showFinishedWait
 public void showFinishedWait()
shows a finished waiting message

 o showStatus
 public void showStatus(String message)
shows a status message

Parameters:
message - the status message
 o printThrowable
 public static void printThrowable(Throwable throwable)
printThrowable


All Packages  Class Hierarchy  This Package  Previous  Next  Index