Class FWMessage

java.lang.Object
net.simplace.ui.usermessage.FWMessage

public final class FWMessage extends Object
Message to be displayed in de.sepp.util.widgets.MessagePane or MessageLabel.
Author:
Andreas Enders
  • Constructor Details

    • FWMessage

      public FWMessage(int aType, String aText)
      default constructor for imutable type & text.
    • FWMessage

      public FWMessage(int aType, String aText, String aDescription)
      default constructor for imutable type & text.
  • Method Details

    • getText

      public String getText()
      Returns the message text
    • getStringBuffer

      public StringBuffer getStringBuffer()
      Returns the text buffer
    • appendText

      public void appendText(String aText)
      Append the given String to the message text
    • getDescription

      public String 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

      public Throwable getThrowable()
      Returns the exception, if any.
    • setThrowable

      public void setThrowable(Throwable aThrowable)
      Sets an exception.
    • toString

      public String toString()
      Returns a label for this message.
      Overrides:
      toString in class Object