psdi.webclient.applet.wfcanvas.util

Class MessageDialog

  • java.lang.Object
    • psdi.webclient.applet.wfcanvas.util.MessageDialog


  • public class MessageDialog
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      MessageDialog() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void showException(javax.swing.JApplet appletObject, java.lang.Exception ex)
      Displays an exception in a standard dialog
      static void showMessage(javax.swing.JApplet appletObject, java.util.Hashtable dialogInfo, java.lang.Object message) 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ERROR_CONNECT_TO_SELF

        public static final java.lang.String ERROR_CONNECT_TO_SELF
        See Also:
        Constant Field Values
      • ERROR_ACTION_NOT_ALLOWED

        public static final java.lang.String ERROR_ACTION_NOT_ALLOWED
        See Also:
        Constant Field Values
      • ERROR_NODE_NOT_ALLOWED

        public static final java.lang.String ERROR_NODE_NOT_ALLOWED
        See Also:
        Constant Field Values
      • ERROR_NEED_JAVASCRIPT

        public static final java.lang.String ERROR_NEED_JAVASCRIPT
        See Also:
        Constant Field Values
      • WARNING_LOSE_CHANGES

        public static final java.lang.String WARNING_LOSE_CHANGES
        See Also:
        Constant Field Values
      • WARNING_WF_DELETE

        public static final java.lang.String WARNING_WF_DELETE
        See Also:
        Constant Field Values
      • EXCEPTION_TITLE

        protected static final java.lang.String EXCEPTION_TITLE
        See Also:
        Constant Field Values
      • actionTypes

        protected static java.util.Hashtable actionTypes
      • buttonCounts

        protected static java.util.Hashtable buttonCounts
      • BUTTON_OKCANCEL

        protected static final java.lang.String BUTTON_OKCANCEL
        See Also:
        Constant Field Values
      • messageTypes

        protected static java.util.Hashtable messageTypes
    • Constructor Detail

      • MessageDialog

        public MessageDialog()
    • Method Detail

      • showException

        public static void showException(javax.swing.JApplet appletObject,
                                         java.lang.Exception ex)
        Displays an exception in a standard dialog
        Parameters:
        ex - The exception to display
      • showMessage

        public static void showMessage(javax.swing.JApplet appletObject,
                                       java.util.Hashtable dialogInfo,
                                       java.lang.Object message)
      • showMessage

        public static boolean showMessage(java.lang.String key)
        Displays a message using the key to retrieve the information
        Parameters:
        key - The key to the message
        Returns:
        True if OK/YES and false if NO/Cancel
      • showMessage

        public 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
        Parameters:
        key - The key to the message
        arg - The argument
        Returns:
        True if OK/YES and false if NO/Cancel
      • showMessage

        public 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
        Parameters:
        key - The key to the message
        args - The arguments
        Returns:
        True if OK/YES and false if NO/Cancel
      • showMessage

        public 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
        Parameters:
        key - The key to the message
        message - The message to display
        Returns:
        True if OK/YES and false if NO/Cancel
      • showMessage

        public 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. The arguments are substuituted into the message using the message formatting class.
        Parameters:
        key - The key to the message
        message - The message to display
        args - The arguments to substitute into the message
        Returns:
        True if OK/YES and false if NO/Cancel