Documentation of 'com.jstatcom.component.StdMessages' Java class
StdMessages
com.jstatcom.component

Class StdMessages



  • public final class StdMessages
    extends java.lang.Object
    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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      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

      • error

        public 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.
        Parameters:
        msg - string for user information
        title - displayed in header
      • error

        public 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.
        Parameters:
        msg - string for user information
        title - displayed in header
        parent - the parent frame
      • error

        public 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.
        Parameters:
        msg - string for user information
        title - displayed in header
        parent - the parent dialog
      • errorEngine

        public static void errorEngine(java.lang.String msg)
        User notification with msg that should be used if some error with a computational engine occured. This is displayed as an error message.
        Parameters:
        msg - string that should inform the user about the cause of error
      • errorEngine

        public 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. This is displayed as an error message.
        Parameters:
        msg - string that should inform the user about the cause of error
        parent - the parent frame
      • errorEngine

        public 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. This is displayed as an error message.
        Parameters:
        msg - string that should inform the user about the cause of error
        parent - the parent dialog
      • errorInput

        public static void errorInput(java.lang.String msg)
        User notification with msg that should be used if the user has provided wrong input. This is displayed as an error message.
        Parameters:
        msg - string that should guide the user to change the wrong input
      • errorInput

        public 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. This is displayed as an error message.
        Parameters:
        msg - string that should guide the user to change the wrong input
        parent - the parent frame
      • errorInput

        public 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. This is displayed as an error message.
        Parameters:
        msg - string that should guide the user to change the wrong input
        parent - the parent dialof
      • errorSpecification

        public static void errorSpecification(java.lang.String msg)
        User notification with msg that should be used if the user has provided an inconsistent specification. This is displayed as an error message.
        Parameters:
        msg - string that should guide the user to change the wrong spec
      • errorSpecification

        public 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. This is displayed as an error message.
        Parameters:
        msg - string that should guide the user to change the wrong spec
        parent - the parent frame
      • errorSpecification

        public 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. This is displayed as an error message.
        Parameters:
        msg - string that should guide the user to change the wrong spec
        parent - the parent dialog
      • info

        public static void info(java.lang.String msg,
                                java.lang.String title)
        User notification with msg that should be used for arbitrary messages with title.
        Parameters:
        msg - string for user information
        title - to be displayed in header
      • info

        public 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.
        Parameters:
        msg - string for user information
        title - to be displayed in header
        parent - the parent frame
      • info

        public 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.
        Parameters:
        msg - string for user information
        title - to be displayed in header
        parent - the parent dialog
      • infoGeneral

        public static void infoGeneral(java.lang.String msg)
        User notification with msg that should be used for general purpose information messages.
        Parameters:
        msg - string for user information
      • infoGeneral

        public static void infoGeneral(java.lang.String msg,
                                       java.awt.Frame parent)
        User notification with msg that should be used for general purpose information messages.
        Parameters:
        msg - string for user information
        parent - the parent frame
      • infoGeneral

        public static void infoGeneral(java.lang.String msg,
                                       java.awt.Dialog parent)
        User notification with msg that should be used for general purpose information messages.
        Parameters:
        msg - string for user information
        parent - the parent dialog
      • infoNothingSelected

        public static void infoNothingSelected(java.lang.String msg)
        User notification with msg that should be used if no variable was selected for a computation. This is displayed as an information message rather than an error.
        Parameters:
        msg - string that should guide the user to make a selection
      • infoNothingSelected

        public 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. This is displayed as an information message rather than an error.
        Parameters:
        msg - string that should guide the user to make a selection
        parent - the parent frame
      • infoNothingSelected

        public 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. This is displayed as an information message rather than an error.
        Parameters:
        msg - string that should guide the user to make a selection
        parent - the parent dialog

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.