|
org.openide.dialogs 7.10.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openide.NotificationLineSupport
public final class NotificationLineSupport
Helper class to simplify handling with error/warning/info messages.
NotifyDescriptor.createNotificationLineSupport()
Method Summary | |
---|---|
void |
clearMessages()
Clears messages. |
String |
getErrorMessage()
Gets a error message. |
String |
getInformationMessage()
Gets a information message. |
String |
getWarningMessage()
Gets a warning message. |
void |
setErrorMessage(String msg)
Sets a error message. |
void |
setInformationMessage(String msg)
Sets a information message. |
void |
setWarningMessage(String msg)
Sets a warning message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final void setInformationMessage(String msg)
msg
- information messagepublic final String getInformationMessage()
null
if other type of message was setpublic final void setWarningMessage(String msg)
msg
- warning messagepublic final String getWarningMessage()
null
if other type of message was setpublic final void setErrorMessage(String msg)
msg
- error messagepublic final String getErrorMessage()
null
if other type of message was setpublic final void clearMessages()
|
org.openide.dialogs 7.10.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |