Interface IMessageProvider

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ERROR
      Constant for an error message (value 3).
      static int INFORMATION
      Constant for an info message (value 1).
      static int NONE
      Constant for a regular message (value 0).
      static int WARNING
      Constant for a warning message (value 2).
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()
      Returns the current message for this message provider.
      int getMessageType()
      Returns a value indicating if the message is a an information message, a warning message, or an error message.
    • Field Detail

      • NONE

        static final int NONE
        Constant for a regular message (value 0).

        Typically this indicates that the message should be shown without an icon.

        See Also:
        Constant Field Values
      • INFORMATION

        static final int INFORMATION
        Constant for an info message (value 1).
        See Also:
        Constant Field Values
      • WARNING

        static final int WARNING
        Constant for a warning message (value 2).
        See Also:
        Constant Field Values
    • Method Detail

      • getMessage

        java.lang.String getMessage()
        Returns the current message for this message provider.

        A message provides instruction or information to the user.

        Returns:
        the message, or null if none
      • getMessageType

        int getMessageType()
        Returns a value indicating if the message is a an information message, a warning message, or an error message.

        Returns one of NONE,INFORMATION, WARNING, or ERROR.

        Returns:
        the message type