|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 headerpublic 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 framepublic 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 errorpublic 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 framepublic 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 inputpublic 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 framepublic 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 specpublic 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 framepublic 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 dialogpublic 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 headerpublic 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 framepublic 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 informationpublic 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 framepublic 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 selectionpublic 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 framepublic 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 |