org.openide.dialogs 7.15.1

org.openide
Class NotificationLineSupport

java.lang.Object
  extended by org.openide.NotificationLineSupport

public final class NotificationLineSupport
extends Object

Helper class to simplify handling with error/warning/info messages.

Since:
7.10
See Also:
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

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.


org.openide.dialogs 7.15.1

Built on April 28 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.