net.simplace.ui.usermessage.FWMessage

Message to be displayed in de.sepp.util.widgets.MessagePane or MessageLabel.


public final class FWMessage {
// Public Constructors
public FWMessage(int aType, String aText);
public FWMessage(int aType, String aText, String aDescription);


// Public Instance Methods
public String getText();

Returns the message text
public StringBuffer getStringBuffer();

Returns the text buffer
public void appendText(String aText);

Append the given String to the message text
public String getDescription();

Returns the description if available
public void setType(int aType);

Sets the message type
public int getType();

Returns the message type
public Throwable getThrowable();

Returns the exception, if any.
public void setThrowable(Throwable aThrowable);

Sets an exception.
public String toString(); // Overrides java.lang.Object

Returns a label for this message.


// Inner Classes
public static class FWMessage.Type
}



Passed to: FWMessageDialog.showMessage()