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 voidClears messages.final StringGets a error message.final StringGets a information message.final StringGets a warning message.final voidsetErrorMessage(String msg) Sets a error message.final voidSets a information message.final voidsetWarningMessage(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
nullif other type of message was set
-
setWarningMessage
Sets a warning message.- Parameters:
msg- warning message
-
getWarningMessage
Gets a warning message.- Returns:
- warning message or
nullif other type of message was set
-
setErrorMessage
-
getErrorMessage
Gets a error message.- Returns:
- error message or
nullif other type of message was set
-
clearMessages
public final void clearMessages()Clears messages.
-