Package net.simplace.ui.usermessage
Class FWMessage
java.lang.Object
net.simplace.ui.usermessage.FWMessage
Message to be displayed in de.sepp.util.widgets.MessagePane or MessageLabel.
- Author:
- Andreas Enders
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendText
(String aText) Append the given String to the message textReturns the description if availableReturns the text buffergetText()
Returns the message textReturns the exception, if any.int
getType()
Returns the message typevoid
setThrowable
(Throwable aThrowable) Sets an exception.void
setType
(int aType) Sets the message typetoString()
Returns a label for this message.
-
Constructor Details
-
FWMessage
default constructor for imutable type & text. -
FWMessage
default constructor for imutable type & text.
-
-
Method Details
-
getText
Returns the message text -
getStringBuffer
Returns the text buffer -
appendText
Append the given String to the message text -
getDescription
Returns the description if available -
setType
public void setType(int aType) Sets the message type -
getType
public int getType()Returns the message type -
getThrowable
Returns the exception, if any. -
setThrowable
Sets an exception. -
toString
Returns a label for this message.
-