public class MessageDialog
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ERROR_ACTION_NOT_ALLOWED |
static java.lang.String |
ERROR_CONNECT_TO_SELF |
static java.lang.String |
ERROR_CONNECTED |
static java.lang.String |
ERROR_NEED_JAVASCRIPT |
static java.lang.String |
ERROR_NODE_NOT_ALLOWED |
static java.lang.String |
MESSAGE_ADD |
static java.lang.String |
MESSAGE_DELETE |
static java.lang.String |
MESSAGE_MOVE |
static java.lang.String |
WARNING_LOSE_CHANGES |
static java.lang.String |
WARNING_WF_DELETE |
| Constructor and Description |
|---|
MessageDialog() |
| Modifier and Type | Method and Description |
|---|---|
static void |
showError(javax.swing.JApplet appletObject,
java.lang.Exception ex,
java.lang.String message)
Displays an exception in a standard dialog with message provided
|
static void |
showException(javax.swing.JApplet appletObject,
java.lang.Exception ex)
Displays an exception in a standard dialog.
|
static void |
showException(javax.swing.JApplet appletObject,
java.lang.Exception ex,
java.lang.String message,
boolean asWarning)
Displays an exception in a standard dialog.
|
static void |
showMessage(javax.swing.JApplet appletObject,
java.util.Hashtable dialogInfo,
java.lang.Object message)
Shows option dialog box.
|
static boolean |
showMessage(java.lang.String key)
Displays a message using the key to retrieve the information
|
static boolean |
showMessage(java.lang.String key,
java.lang.Object arg)
Displays a message using the key to retrieve the information
and a single argument to substitute into the message
|
static boolean |
showMessage(java.lang.String key,
java.lang.Object[] args)
Displays a message using the key to retrieve the information
and arguments to substitute into the message
|
static boolean |
showMessage(java.lang.String key,
java.lang.String message)
Displays a message using the key to retrieve the information
other than the actual message string
|
static boolean |
showMessage(java.lang.String key,
java.lang.String message,
java.lang.Object[] args)
Displays a message using the key to retrieve the information
other than the actual message string.
|
static void |
showWarning(javax.swing.JApplet appletObject,
java.lang.Exception ex,
java.lang.String message)
Displays an exception in a standard dialog with message provided
If Message is null then the message from exception is used.
|
public static final java.lang.String ERROR_CONNECT_TO_SELF
public static final java.lang.String ERROR_CONNECTED
public static final java.lang.String ERROR_ACTION_NOT_ALLOWED
public static final java.lang.String ERROR_NODE_NOT_ALLOWED
public static final java.lang.String MESSAGE_ADD
public static final java.lang.String MESSAGE_DELETE
public static final java.lang.String MESSAGE_MOVE
public static final java.lang.String ERROR_NEED_JAVASCRIPT
public static final java.lang.String WARNING_LOSE_CHANGES
public static final java.lang.String WARNING_WF_DELETE
public static void showException(javax.swing.JApplet appletObject,
java.lang.Exception ex)
ex - The exception to displaypublic static void showException(javax.swing.JApplet appletObject,
java.lang.Exception ex,
java.lang.String message,
boolean asWarning)
appletObject - ex - Exceptionmessage - String messageasWarning - boolean flagpublic static void showError(javax.swing.JApplet appletObject,
java.lang.Exception ex,
java.lang.String message)
ex - The exception to displaypublic static void showWarning(javax.swing.JApplet appletObject,
java.lang.Exception ex,
java.lang.String message)
ex - The exception to displaypublic static void showMessage(javax.swing.JApplet appletObject,
java.util.Hashtable dialogInfo,
java.lang.Object message)
appletObject - dialogInfo - message - public static boolean showMessage(java.lang.String key)
key - The key to the messagepublic static boolean showMessage(java.lang.String key,
java.lang.Object arg)
key - The key to the messagearg - The argumentpublic static boolean showMessage(java.lang.String key,
java.lang.Object[] args)
key - The key to the messageargs - The argumentspublic static boolean showMessage(java.lang.String key,
java.lang.String message)
key - The key to the messagemessage - The message to displaypublic static boolean showMessage(java.lang.String key,
java.lang.String message,
java.lang.Object[] args)
key - The key to the messagemessage - The message to displayargs - The arguments to substitute into the message