Class NotificationLineSupport

java.lang.Object
org.openide.NotificationLineSupport

public final class NotificationLineSupport extends Object
Helper class to simplify handling with error/warning/info messages.
Since:
7.10
See Also:
  • Method Details

    • setInformationMessage

      public final void setInformationMessage(String msg)
      Sets a information message.
      Parameters:
      msg - information message
    • getInformationMessage

      public final String getInformationMessage()
      Gets a information message.
      Returns:
      information message or null if other type of message was set
    • setWarningMessage

      public final void setWarningMessage(String msg)
      Sets a warning message.
      Parameters:
      msg - warning message
    • getWarningMessage

      public final String getWarningMessage()
      Gets a warning message.
      Returns:
      warning message or null if other type of message was set
    • setErrorMessage

      public final void setErrorMessage(String msg)
      Sets a error message.
      Parameters:
      msg - error message
    • getErrorMessage

      public final String getErrorMessage()
      Gets a error message.
      Returns:
      error message or null if other type of message was set
    • clearMessages

      public final void clearMessages()
      Clears messages.