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.
-
ShowUser()
-
-
about(String, String)
- shows an about message
-
closeDialog()
- closeDialog
-
doHideAbout()
- doHideAbout
-
doHideError()
- doHideError
-
doHideInfo()
- doHideInfo
-
doHideWarning()
- doHideWarning
-
doResume()
- resumes showing error and warning (etc.) dialogs
-
doSuspend()
- suspends showing error and warning (etc.) dialogs
-
error(Throwable)
- shows an error message
-
error(Throwable, String)
- shows an error message
-
error(Throwable, String, String)
- shows an error message
-
finishedWait()
- shows a finish waiting message
-
getApplet()
- gets an applet
-
getBaseFrame()
- getBaseFrame
-
getDefaultApplet()
- getDefaultApplet
-
hideAbout()
- hideAbout
-
hideError()
- hideError
-
hideInfo()
- hideInfo
-
hideWarning()
- hideWarning
-
info(String)
- shows an info message
-
pleaseWait()
- shows a please wait message
-
printThrowable(Throwable)
- printThrowable
-
resume()
- suspend
-
setApplet(Applet)
- setApplet
-
setBaseFrame(Frame)
- shows user the base frame
-
setDefaultStatus(String)
- sets the default status
-
setOuterFrame(Frame)
- setOuterFrame
-
setShowUserApplet(Applet)
- shows the user an applet
-
setShowUserOuterFrame(Frame)
- shows user the outer frame
-
setStatusHandler(StatusHandler)
- shows the user an applet
-
showAbout(String, String)
- shows an about message
-
showError(Throwable, String, String)
- shows an error message
-
showFinishedWait()
- shows a finished waiting message
-
showInfo(String)
- shows an info message
-
showPleaseWait()
- shows a please wait message
-
showStatus(String)
- shows a status message
-
showWarning(String)
- shows a warning message
-
status(String)
- shows a status message
-
suspend()
- suspend
-
warning(String)
- shows a warning message
ShowUser
public ShowUser()
setDefaultStatus
public static void setDefaultStatus(String message)
- sets the default status
- Parameters:
- message - the message
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
error
public static void error(Throwable t,
String message)
- shows an error message
- Parameters:
- t - the error
- message - the error message
error
public static void error(Throwable t)
- shows an error message
- Parameters:
- t - the error
warning
public static void warning(String message)
- shows a warning message
- Parameters:
- message - the warning message
info
public static void info(String message)
- shows an info message
- Parameters:
- message - the info message
about
public static void about(String what,
String message)
- shows an about message
- Parameters:
- what - TBD
- message - the about message
pleaseWait
public static void pleaseWait()
- shows a please wait message
finishedWait
public static void finishedWait()
- shows a finish waiting message
hideError
public static void hideError()
- hideError
hideWarning
public static void hideWarning()
- hideWarning
hideInfo
public static void hideInfo()
- hideInfo
hideAbout
public static void hideAbout()
- hideAbout
status
public static void status(String message)
- shows a status message
- Parameters:
- message - the status message
setStatusHandler
public static void setStatusHandler(StatusHandler statusHandler)
- shows the user an applet
- Parameters:
- applet - the applet to be shown
setShowUserApplet
public void setShowUserApplet(Applet applet)
- shows the user an applet
- Parameters:
- applet - the applet to be shown
setShowUserOuterFrame
public void setShowUserOuterFrame(Frame frame)
- shows user the outer frame
- Parameters:
- the - outer frame to be shown
setBaseFrame
public static void setBaseFrame(Frame frame)
- shows user the base frame
- Parameters:
- the - base frame to be shown
getBaseFrame
public static Frame getBaseFrame()
- getBaseFrame
- Returns:
- Frame
getApplet
public static Applet getApplet()
- gets an applet
- Returns:
- the applet
setApplet
public static void setApplet(Applet applet)
- setApplet
- Parameters:
- applet - the applet being set
suspend
public static void suspend()
- suspend
resume
public static void resume()
- suspend
setOuterFrame
public static void setOuterFrame(Frame outerframe)
- setOuterFrame
- Parameters:
- the - outer frame
getDefaultApplet
public static final Applet getDefaultApplet()
- getDefaultApplet
- Returns:
- Applet the default applet
closeDialog
public static void closeDialog()
- closeDialog
doSuspend
public void doSuspend()
- suspends showing error and warning (etc.) dialogs
doResume
public void doResume()
- resumes showing error and warning (etc.) dialogs
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
showWarning
public void showWarning(String message)
- shows a warning message
- Parameters:
- message - the warning message
showInfo
public void showInfo(String message)
- shows an info message
- Parameters:
- message - the info message
showAbout
public void showAbout(String what,
String message)
- shows an about message
- Parameters:
- what - TBD
- message - the about message
doHideError
public void doHideError()
- doHideError
doHideWarning
public void doHideWarning()
- doHideWarning
doHideInfo
public void doHideInfo()
- doHideInfo
doHideAbout
public void doHideAbout()
- doHideAbout
showPleaseWait
public void showPleaseWait()
- shows a please wait message
showFinishedWait
public void showFinishedWait()
- shows a finished waiting message
showStatus
public void showStatus(String message)
- shows a status message
- Parameters:
- message - the status message
printThrowable
public static void printThrowable(Throwable throwable)
- printThrowable
All Packages Class Hierarchy This Package Previous Next Index