Class NotificationLineSupport
java.lang.Object
org.openide.NotificationLineSupport
Helper class to simplify handling with error/warning/info messages.
- Since:
- 7.10
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
Clears messages.final String
Gets a error message.final String
Gets a information message.final String
Gets a warning message.final void
setErrorMessage
(String msg) Sets a error message.final void
Sets a information message.final void
setWarningMessage
(String msg) Sets a warning message.
-
Method Details
-
setInformationMessage
Sets a information message.- Parameters:
msg
- information message
-
getInformationMessage
Gets a information message.- Returns:
- information message or
null
if other type of message was set
-
setWarningMessage
Sets a warning message.- Parameters:
msg
- warning message
-
getWarningMessage
Gets a warning message.- Returns:
- warning message or
null
if other type of message was set
-
setErrorMessage
-
getErrorMessage
Gets a error message.- Returns:
- error message or
null
if other type of message was set
-
clearMessages
public final void clearMessages()Clears messages.
-