예제 #1
0
 /** @inheritDoc */
 @Override
 public String getMessageTextAsHTML() {
   String msg = "";
   msg += "<font color=" + Constants.NOTIFICATION_COLOR + ">";
   msg += name + " " + settings.getLanguage().getLabel("text_leftchat");
   msg += "</font>";
   return msg;
 }
예제 #2
0
 /** @inheritDoc */
 @Override
 public String getMessageText() {
   String msg = name + " " + settings.getLanguage().getLabel("text_leftchat");
   return msg;
 }
예제 #3
0
 /**
  * Constructor. Creates a new chat message which informs about the leaving of a participant.
  *
  * @param name The name of the user which has left the chat.
  */
 public ChatLeftMessage(String name) {
   this.name = name;
   settings = Settings.getInstance();
 }