|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jstatcom.component.StdMessages
public final class StdMessages
Contains a collection of dialogs that could be used to standardize messages of different types throughout an application. All messages are invoked within the event dispatching thread.
If the parent is not explicitely specified,
TopFrameReference.getTopFrameRef() is used.
| Method Summary | |
|---|---|
static void |
error(java.lang.String msg,
java.lang.String title)
User notification with msg that should be used for
arbitrary error messages with title. |
static void |
error(java.lang.String msg,
java.lang.String title,
java.awt.Dialog parent)
User notification with msg that should be used for
arbitrary error messages with title. |
static void |
error(java.lang.String msg,
java.lang.String title,
java.awt.Frame parent)
User notification with msg that should be used for
arbitrary error messages with title. |
static void |
errorEngine(java.lang.String msg)
User notification with msg that should be used if some
error with a computational engine occured. |
static void |
errorEngine(java.lang.String msg,
java.awt.Dialog parent)
User notification with msg that should be used if some
error with a computational engine occured. |
static void |
errorEngine(java.lang.String msg,
java.awt.Frame parent)
User notification with msg that should be used if some
error with a computational engine occured. |
static void |
errorInput(java.lang.String msg)
User notification with msg that should be used if the user
has provided wrong input. |
static void |
errorInput(java.lang.String msg,
java.awt.Dialog parent)
User notification with msg that should be used if the user
has provided wrong input. |
static void |
errorInput(java.lang.String msg,
java.awt.Frame parent)
User notification with msg that should be used if the user
has provided wrong input. |
static void |
errorSpecification(java.lang.String msg)
User notification with msg that should be used if the user
has provided an inconsistent specification. |
static void |
errorSpecification(java.lang.String msg,
java.awt.Dialog parent)
User notification with msg that should be used if the user
has provided an inconsistent specification. |
static void |
errorSpecification(java.lang.String msg,
java.awt.Frame parent)
User notification with msg that should be used if the user
has provided an inconsistent specification. |
static void |
info(java.lang.String msg,
java.lang.String title)
User notification with msg that should be used for
arbitrary messages with title. |
static void |
info(java.lang.String msg,
java.lang.String title,
java.awt.Dialog parent)
User notification with msg that should be used for
arbitrary messages with title. |
static void |
info(java.lang.String msg,
java.lang.String title,
java.awt.Frame parent)
User notification with msg that should be used for
arbitrary messages with title. |
static void |
infoGeneral(java.lang.String msg)
User notification with msg that should be used for general
purpose information messages. |
static void |
infoGeneral(java.lang.String msg,
java.awt.Dialog parent)
User notification with msg that should be used for general
purpose information messages. |
static void |
infoGeneral(java.lang.String msg,
java.awt.Frame parent)
User notification with msg that should be used for general
purpose information messages. |
static void |
infoNothingSelected(java.lang.String msg)
User notification with msg that should be used if no
variable was selected for a computation. |
static void |
infoNothingSelected(java.lang.String msg,
java.awt.Dialog parent)
User notification with msg that should be used if no
variable was selected for a computation. |
static void |
infoNothingSelected(java.lang.String msg,
java.awt.Frame parent)
User notification with msg that should be used if no
variable was selected for a computation. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void error(java.lang.String msg,
java.lang.String title)
msg that should be used for
arbitrary error messages with title.
msg - string for user informationtitle - displayed in header
public static void error(java.lang.String msg,
java.lang.String title,
java.awt.Frame parent)
msg that should be used for
arbitrary error messages with title.
msg - string for user informationtitle - displayed in headerparent - the parent frame
public static void error(java.lang.String msg,
java.lang.String title,
java.awt.Dialog parent)
msg that should be used for
arbitrary error messages with title.
msg - string for user informationtitle - displayed in headerparent - the parent dialogpublic static void errorEngine(java.lang.String msg)
msg that should be used if some
error with a computational engine occured. This is displayed as an error
message.
msg - string that should inform the user about the cause of error
public static void errorEngine(java.lang.String msg,
java.awt.Frame parent)
msg that should be used if some
error with a computational engine occured. This is displayed as an error
message.
msg - string that should inform the user about the cause of errorparent - the parent frame
public static void errorEngine(java.lang.String msg,
java.awt.Dialog parent)
msg that should be used if some
error with a computational engine occured. This is displayed as an error
message.
msg - string that should inform the user about the cause of errorparent - the parent dialogpublic static void errorInput(java.lang.String msg)
msg that should be used if the user
has provided wrong input. This is displayed as an error message.
msg - string that should guide the user to change the wrong input
public static void errorInput(java.lang.String msg,
java.awt.Frame parent)
msg that should be used if the user
has provided wrong input. This is displayed as an error message.
msg - string that should guide the user to change the wrong inputparent - the parent frame
public static void errorInput(java.lang.String msg,
java.awt.Dialog parent)
msg that should be used if the user
has provided wrong input. This is displayed as an error message.
msg - string that should guide the user to change the wrong inputparent - the parent dialofpublic static void errorSpecification(java.lang.String msg)
msg that should be used if the user
has provided an inconsistent specification. This is displayed as an error
message.
msg - string that should guide the user to change the wrong spec
public static void errorSpecification(java.lang.String msg,
java.awt.Frame parent)
msg that should be used if the user
has provided an inconsistent specification. This is displayed as an error
message.
msg - string that should guide the user to change the wrong specparent - the parent frame
public static void errorSpecification(java.lang.String msg,
java.awt.Dialog parent)
msg that should be used if the user
has provided an inconsistent specification. This is displayed as an error
message.
msg - string that should guide the user to change the wrong specparent - the parent dialog
public static void info(java.lang.String msg,
java.lang.String title)
msg that should be used for
arbitrary messages with title.
msg - string for user informationtitle - to be displayed in header
public static void info(java.lang.String msg,
java.lang.String title,
java.awt.Frame parent)
msg that should be used for
arbitrary messages with title.
msg - string for user informationtitle - to be displayed in headerparent - the parent frame
public static void info(java.lang.String msg,
java.lang.String title,
java.awt.Dialog parent)
msg that should be used for
arbitrary messages with title.
msg - string for user informationtitle - to be displayed in headerparent - the parent dialogpublic static void infoGeneral(java.lang.String msg)
msg that should be used for general
purpose information messages.
msg - string for user information
public static void infoGeneral(java.lang.String msg,
java.awt.Frame parent)
msg that should be used for general
purpose information messages.
msg - string for user informationparent - the parent frame
public static void infoGeneral(java.lang.String msg,
java.awt.Dialog parent)
msg that should be used for general
purpose information messages.
msg - string for user informationparent - the parent dialogpublic static void infoNothingSelected(java.lang.String msg)
msg that should be used if no
variable was selected for a computation. This is displayed as an
information message rather than an error.
msg - string that should guide the user to make a selection
public static void infoNothingSelected(java.lang.String msg,
java.awt.Frame parent)
msg that should be used if no
variable was selected for a computation. This is displayed as an
information message rather than an error.
msg - string that should guide the user to make a selectionparent - the parent frame
public static void infoNothingSelected(java.lang.String msg,
java.awt.Dialog parent)
msg that should be used if no
variable was selected for a computation. This is displayed as an
information message rather than an error.
msg - string that should guide the user to make a selectionparent - the parent dialog
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||